/* Account reference styling, scoped to the account overlay. Outer viewport dimensions stay intact. */
.v3Overlay.accountMode .v3App{background:#fafbf7}
.v3Overlay.accountMode .v3Top{background:#fff;color:#08123d;border-bottom:1px solid #eef1ec;box-shadow:none}
.v3Overlay.accountMode .v3Brand b{color:#080e39;font-weight:950}
.v3Overlay.accountMode .v3Brand small{color:#7a87ac}
.v3Overlay.accountMode .v3Back,.v3Overlay.accountMode .v3Close{color:#078f88;background:#e9f8f2}
.v3Overlay.accountMode .v3Body{padding:0;background:#fafbf7}
.accountPage{max-width:820px;margin:auto;padding:18px 20px 24px;color:#080d32;font-family:'Nunito Sans',system-ui,sans-serif}
.accountPage *{box-sizing:border-box}.accountIntro{display:flex;justify-content:space-between;align-items:center;min-height:153px;padding:4px 5px 7px}.accountIntro h1{font-size:clamp(31px,4vw,49px);letter-spacing:-.045em;line-height:1.05;margin:0 0 9px;font-weight:950;color:#08080e}.accountIntro p{font-size:clamp(15px,2vw,22px);line-height:1.3;color:#7887b1;margin:0}.accountBookArt{position:relative;min-width:170px;font-size:79px;text-align:center;line-height:1}.accountBookArt span{position:absolute;right:9px;top:0;color:#ffbd26;font-size:45px}.accountBookArt em{position:absolute;left:0;bottom:5px;font-size:38px;font-style:normal}.accountBookArt i{font-style:normal;filter:drop-shadow(0 10px 12px #00a77e27)}
.accountStudent,.accountMembership,.accountList{background:#fff;border:1px solid #edf0ef;border-radius:22px;box-shadow:0 10px 24px #152a2410}.accountStudent{padding:22px;display:flex;align-items:center;gap:25px}.accountStudentAvatar{flex:0 0 145px}.accountAvatar{width:145px;height:145px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#d9f9e8;border:3px solid #a0f2cf;font-size:55px;color:#119b80;font-weight:900}.accountAvatar img{width:100%;height:100%;object-fit:cover}.accountStudentInfo{min-width:0;flex:1}.accountStudentInfo h2{margin:0;color:#090e40;font-size:34px;line-height:1.1}.accountStudentInfo p{margin:3px 0 17px;color:#7888b4;font-size:20px}.accountStudentActions{display:flex;gap:9px;flex-wrap:wrap}.accountStudentActions button{border:1px solid #d9f2ed;background:#fff;border-radius:14px;padding:11px 14px;color:#008f87;font-size:14px;font-weight:850;cursor:pointer}.accountStudentActions button:hover,.accountRow:hover{background:#f5fdf9}
.accountMembership{display:flex;align-items:center;gap:18px;padding:18px 22px;margin-top:16px}.accountShield{width:70px;height:70px;flex:0 0 70px;border-radius:50%;display:grid;place-items:center;background:#e8faf5;color:#fff;font-size:27px;font-weight:950;text-shadow:0 1px #007d71;background-image:radial-gradient(circle at center,#06ad8b 0 24px,transparent 25px)}.accountMembership>div{min-width:0;flex:1}.accountMembership h2{font-size:23px;margin:0 0 4px}.accountMembership p{font-size:16px;color:#7b8bb4;margin:0}.accountMembership button{border:0;border-radius:99px;padding:10px 15px;background:#e7f9eb;color:#00a547;font-weight:850;white-space:nowrap}.accountMembership button:not(.isActive){cursor:pointer;background:#e7f9f3;color:#009f87}
.accountSectionTitle{font-size:25px;color:#09090f;margin:20px 4px 10px;letter-spacing:-.03em}.accountList{padding:2px 18px}.accountRow{width:100%;display:flex;align-items:center;gap:16px;padding:11px 2px;border:0;border-bottom:1px solid #e9edf1;background:transparent;text-align:left;cursor:pointer;color:#0c123e}.accountRow:last-child{border-bottom:0}.accountIcon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;flex:0 0 58px;font-size:30px}.accountIcon.violet{background:#f1efff}.accountIcon.amber{background:#fff7e8}.accountIcon.rose{background:#eaf9f5}.accountIcon.sun{background:#fffae8}.accountIcon.sky{background:#eaf6fc;color:#48789d}.accountIcon.slate{background:#f1f0fa;color:#69759b}.accountRowCopy{flex:1;min-width:0}.accountRowCopy b{display:block;font-size:19px;font-weight:850}.accountRowCopy small{display:block;font-size:15px;color:#7c8bb5;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accountChevron{color:#00b5b2;font-size:32px;line-height:1}.accountToggle{width:50px;height:29px;border-radius:99px;background:#00bb9b;position:relative}.accountToggle:after{content:'';position:absolute;right:3px;top:3px;width:23px;height:23px;border-radius:50%;background:#fff}.accountLogout{display:block;width:100%;margin:18px 0 12px;padding:17px;border:0;border-radius:18px;background:#fff0f1;color:#f02a55;font-size:19px;font-weight:850;text-align:left;cursor:pointer}.accountBottom{position:sticky;bottom:0;z-index:2;display:flex;justify-content:space-around;gap:4px;border:1px solid #edf2ed;border-radius:23px;padding:6px;background:#fff;box-shadow:0 8px 20px #142a2410}.accountBottom button{flex:1;display:grid;place-items:center;gap:2px;border:0;border-radius:16px;background:transparent;color:#7e8caf;font-size:13px;font-weight:800;padding:8px 4px;cursor:pointer}.accountBottom button span{font-size:25px;line-height:1}.accountBottom button.active{color:#04ab8a;background:#e9f9f4}
@media(max-width:600px){.accountPage{padding:12px 13px 19px}.accountIntro{min-height:125px}.accountIntro h1{font-size:31px}.accountIntro p{font-size:15px}.accountBookArt{min-width:99px;font-size:53px}.accountBookArt span{font-size:28px}.accountBookArt em{font-size:22px}.accountStudent{gap:13px;padding:13px;border-radius:19px}.accountStudentAvatar{flex-basis:80px}.accountAvatar{width:80px;height:80px;font-size:32px}.accountStudentInfo h2{font-size:22px}.accountStudentInfo p{font-size:14px;margin-bottom:10px}.accountStudentActions{gap:5px}.accountStudentActions button{font-size:10px;padding:8px;border-radius:10px}.accountMembership{gap:9px;padding:12px;margin-top:11px;border-radius:18px}.accountShield{width:48px;height:48px;flex-basis:48px;font-size:20px;background-image:radial-gradient(circle at center,#06ad8b 0 17px,transparent 18px)}.accountMembership h2{font-size:18px}.accountMembership p{font-size:11px}.accountMembership button{font-size:10px;padding:8px}.accountSectionTitle{font-size:22px;margin:16px 3px 8px}.accountList{padding:1px 12px;border-radius:18px}.accountRow{gap:10px;padding:9px 0}.accountIcon{width:46px;height:46px;flex-basis:46px;font-size:24px;border-radius:12px}.accountRowCopy b{font-size:15px}.accountRowCopy small{font-size:12px}.accountChevron{font-size:25px}.accountLogout{font-size:16px;padding:15px}.accountBottom button{font-size:11px}}

/* Account corrections: green account status, distinct code entry and real battle ID. */
.accountOnline{border-radius:99px;background:#e5fae9;color:#069a53;padding:10px 14px;font-weight:850;white-space:nowrap}
.accountCode,.accountBattleId{background:#fff;border:1px solid #dcefe9;border-radius:20px;padding:17px 21px;margin-top:13px;box-shadow:0 7px 19px #1628220d}
.accountCode h2,.accountBattleId h2{margin:0 0 4px;font-size:20px;color:#0d2440}.accountCode p,.accountBattleId p{margin:0;color:#6c7f9c;font-size:14px;line-height:1.5}.accountCode button,.accountBattleLine button{border:0;background:#03aa87;color:#fff;border-radius:12px;padding:10px 15px;font-weight:850;cursor:pointer}.accountCode:not(.isVerified) button{margin-top:12px}.accountCode small,.accountBattleId small{display:block;color:#7488a0;font-size:12px;margin-top:10px}.accountCode.isVerified{display:flex;align-items:center;gap:12px;background:#f5fdf8}.accountCode.isVerified>span{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border-radius:50%;background:#0bab69;color:#fff;font-weight:900}.accountBattleLine{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:8px;border-radius:13px;background:#f3fbf8}.accountBattleLine strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#085f6e;font-size:17px;letter-spacing:.025em}.accountBattleLine button:disabled{opacity:.5;cursor:default}
.accountLogout{background:#f2f5f4;color:#3b6e69}.accountLogout:hover{background:#e7f2ee}
@media(max-width:600px){.accountOnline{font-size:10px;padding:8px}.accountCode,.accountBattleId{padding:13px;border-radius:18px}.accountCode h2,.accountBattleId h2{font-size:16px}.accountCode p,.accountBattleId p{font-size:12px}.accountBattleLine strong{font-size:14px}}

.accountCodeForm{margin-top:12px}.accountCodeForm label{display:block;color:#17594e;font-weight:850;font-size:13px;margin-bottom:6px}.accountCodeForm>div{display:flex;gap:8px}.accountCodeForm input{min-width:0;flex:1;border:1px solid #bce3d7;border-radius:12px;padding:11px 12px;font:inherit;color:#0d2440;text-transform:uppercase;background:#fff}.accountCodeForm button{margin-top:0!important;white-space:nowrap}.accountCodeForm button:disabled{opacity:.6}.accountCodeError{color:#b2393e!important;margin-top:8px!important;font-weight:700}.accountCodeError[hidden]{display:none}
@media(max-width:600px){.accountCodeForm>div{flex-wrap:wrap}.accountCodeForm input{flex-basis:100%}.accountCodeForm button{width:100%}}

/* Account settings actions */
.accountIcon.sky svg{width:29px;height:29px;display:block}
.accountLogout{display:flex;align-items:center;gap:15px}
.accountLogout svg{width:25px;height:25px;flex:none;stroke:#198b73}
@media(max-width:600px){.accountIcon.sky svg{width:24px;height:24px}.accountLogout svg{width:22px;height:22px}}
.v3Overlay.accountMode .accountIntro h1{display:none}
.v3Overlay.accountMode .accountIntro{min-height:95px}
@media(max-width:600px){.v3Overlay.accountMode .accountIntro{min-height:80px}}

/* Step 78: account screen follows the selected reference while keeping the app frame. */
.v3Overlay.accountMode .v3Body{background:#f9fcfa!important}
.v3Overlay.accountMode .accountPage{max-width:900px;padding:4px 20px 32px;color:#101638}
.v3Overlay.accountMode .accountIntro{min-height:150px;display:flex;align-items:center;gap:20px;padding:2px 4px 10px}
.v3Overlay.accountMode .accountIntro p{max-width:590px;margin:0;color:#7483a8;font-size:clamp(16px,2vw,23px);font-weight:600;line-height:1.4}
.v3Overlay.accountMode .accountBookArt{display:block;width:205px;height:150px;min-width:0;object-fit:contain;object-position:center;flex:none}
.v3Overlay.accountMode .accountStudent,.v3Overlay.accountMode .accountMembership,.v3Overlay.accountMode .accountList,.v3Overlay.accountMode .accountBattleId{background:#fff;border:1px solid #e8f1ee;border-radius:25px;box-shadow:0 12px 28px #102d2810}
.v3Overlay.accountMode .accountStudent{gap:28px;padding:22px 28px}
.v3Overlay.accountMode .accountStudentAvatar{flex:0 0 180px}
.v3Overlay.accountMode .accountAvatar{width:180px;height:180px;border:0;background:#defbf0;box-shadow:0 0 0 1px #d6f7ea}
.v3Overlay.accountMode .accountStudentInfo h2{font-size:clamp(25px,3.1vw,37px);line-height:1.08;max-width:520px;letter-spacing:-.035em;color:#0d1239}
.v3Overlay.accountMode .accountStudentInfo p{color:#009c80;font-weight:900;font-size:21px;margin:8px 0 18px}
.v3Overlay.accountMode .accountStudentActions button{border:1px solid #ccefe7;background:#fff;color:#008c7c;font-weight:900;border-radius:19px;padding:13px 18px;font-size:15px}
.v3Overlay.accountMode .accountMembership{margin-top:18px;padding:18px 25px;gap:20px}
.v3Overlay.accountMode .accountShield{width:76px;height:76px;flex-basis:76px;font-size:33px;background:#07ac73;box-shadow:0 0 0 10px #e3f9ec;border-radius:50%;margin:0 10px}
.v3Overlay.accountMode .accountMembership h2{font-size:27px;color:#101638;letter-spacing:-.03em}
.v3Overlay.accountMode .accountMembership p{color:#7483a8;font-size:17px}
.v3Overlay.accountMode .accountOnline{background:#e3f9e9;color:#008e63;padding:13px 20px;font-size:17px;display:inline-flex;align-items:center;gap:8px}
.v3Overlay.accountMode .accountOnline span{color:#00bf55;font-size:19px}
.v3Overlay.accountMode .accountCode.isVerified{background:#f5fffa;border-color:#ccefe5;min-height:118px;padding:20px 26px;gap:22px}
.v3Overlay.accountMode .accountCode.isVerified>span{background:#dcfbee;color:#00a688;width:68px;height:68px;flex-basis:68px;border-radius:50%;font-size:42px;font-weight:900}
.v3Overlay.accountMode .accountCode h2,.v3Overlay.accountMode .accountBattleId h2{font-size:25px;color:#11183d;letter-spacing:-.025em}
.v3Overlay.accountMode .accountCode p,.v3Overlay.accountMode .accountBattleId p{font-size:17px;color:#7584a8;line-height:1.4}
.v3Overlay.accountMode .accountBattleId{position:relative;padding:20px 27px 20px 145px;margin-top:18px;min-height:175px}
.v3Overlay.accountMode .accountBattleArt{position:absolute;left:27px;top:24px;width:85px;height:85px;border-radius:50%;background:#eeeaff;display:grid;place-items:center}
.v3Overlay.accountMode .accountBattleArt img{width:45px;height:45px;object-fit:contain}
.v3Overlay.accountMode .accountBattleLine{background:#f3faf7;border-radius:17px;padding:5px 5px 5px 19px;min-height:58px}
.v3Overlay.accountMode .accountBattleLine strong{color:#11183d;font-size:22px}
.v3Overlay.accountMode .accountBattleLine button{background:#009c83;font-size:16px;padding:13px 20px;border-radius:15px}
.v3Overlay.accountMode .accountBattleId small{color:#7483a8;font-size:14px;margin-top:8px}
.v3Overlay.accountMode .accountSectionTitle{color:#0e153a;font-size:29px;margin:22px 2px 12px}
.v3Overlay.accountMode .accountList{padding:4px 24px}
.v3Overlay.accountMode .accountRow{min-height:80px;gap:22px;border-color:#e7edf2;color:#101638}
.v3Overlay.accountMode .accountIcon{width:62px;height:62px;flex-basis:62px;border-radius:50%}
.v3Overlay.accountMode .accountIcon img{width:30px;height:30px;object-fit:contain}
.v3Overlay.accountMode .accountIcon.violet{background:#eeedff}.v3Overlay.accountMode .accountIcon.amber{background:#fff2dd}.v3Overlay.accountMode .accountIcon.rose{background:#e5faf4}
.v3Overlay.accountMode .accountRowCopy b{font-size:20px;color:#0e153a}.v3Overlay.accountMode .accountRowCopy small{font-size:16px;color:#7584a8}
.v3Overlay.accountMode .accountChevron{color:#00a99d}
.v3Overlay.accountMode .accountLogout{border-radius:22px;background:#fff0f2;color:#ee2554;font-weight:900;padding:19px 28px}
.v3Overlay.accountMode .accountLogout svg{stroke:#ee2554}
@media(max-width:600px){
 .v3Overlay.accountMode .accountPage{padding:2px 13px 24px}
 .v3Overlay.accountMode .accountIntro{min-height:110px;gap:4px}
 .v3Overlay.accountMode .accountIntro p{font-size:14px;line-height:1.35}
 .v3Overlay.accountMode .accountBookArt{width:112px;height:105px}
 .v3Overlay.accountMode .accountStudent{padding:15px;gap:13px;border-radius:20px}
 .v3Overlay.accountMode .accountStudentAvatar{flex-basis:90px}
 .v3Overlay.accountMode .accountAvatar{width:90px;height:90px}
 .v3Overlay.accountMode .accountStudentInfo h2{font-size:20px}
 .v3Overlay.accountMode .accountStudentInfo p{font-size:13px;margin:4px 0 9px}
 .v3Overlay.accountMode .accountStudentActions{gap:5px}
 .v3Overlay.accountMode .accountStudentActions button{font-size:10px;padding:8px;border-radius:11px}
 .v3Overlay.accountMode .accountMembership{padding:12px;gap:10px;border-radius:19px}
 .v3Overlay.accountMode .accountShield{width:42px;height:42px;flex-basis:42px;margin:0 4px;box-shadow:0 0 0 5px #e3f9ec;font-size:22px}
 .v3Overlay.accountMode .accountMembership h2{font-size:16px}.v3Overlay.accountMode .accountMembership p{font-size:11px}
 .v3Overlay.accountMode .accountOnline{font-size:10px;padding:8px 9px;gap:3px}.v3Overlay.accountMode .accountOnline span{font-size:12px}
 .v3Overlay.accountMode .accountCode.isVerified{padding:14px;gap:10px;min-height:0}
 .v3Overlay.accountMode .accountCode.isVerified>span{width:46px;height:46px;flex-basis:46px;font-size:28px}
 .v3Overlay.accountMode .accountCode h2,.v3Overlay.accountMode .accountBattleId h2{font-size:17px}
 .v3Overlay.accountMode .accountCode p,.v3Overlay.accountMode .accountBattleId p{font-size:12px}
 .v3Overlay.accountMode .accountBattleId{padding:15px 14px 15px 68px;min-height:0;border-radius:19px}
 .v3Overlay.accountMode .accountBattleArt{left:12px;top:17px;width:43px;height:43px}.v3Overlay.accountMode .accountBattleArt img{width:26px;height:26px}
 .v3Overlay.accountMode .accountBattleLine{padding:4px 4px 4px 8px;min-height:44px}.v3Overlay.accountMode .accountBattleLine strong{font-size:14px}.v3Overlay.accountMode .accountBattleLine button{font-size:11px;padding:9px}
 .v3Overlay.accountMode .accountBattleId small{font-size:10px}
 .v3Overlay.accountMode .accountSectionTitle{font-size:21px;margin:17px 2px 8px}
 .v3Overlay.accountMode .accountList{padding:2px 12px;border-radius:19px}.v3Overlay.accountMode .accountRow{min-height:64px;gap:11px}
 .v3Overlay.accountMode .accountIcon{width:43px;height:43px;flex-basis:43px}.v3Overlay.accountMode .accountIcon img{width:23px;height:23px}
 .v3Overlay.accountMode .accountRowCopy b{font-size:14px}.v3Overlay.accountMode .accountRowCopy small{font-size:12px}
 .v3Overlay.accountMode .accountLogout{padding:14px;font-size:15px;border-radius:16px}
}
html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .v3Body{background:#14271f!important}
html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountPage{color:#f1f8f1}
html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountStudent,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountMembership,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountBattleId,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountList{background:#1c3228;border-color:#3a5948}
html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountStudentInfo h2,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountMembership h2,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountBattleId h2,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountSectionTitle,html[data-guul-comfort-resolved="dark"] .v3Overlay.accountMode .accountRowCopy b{color:#f1f8f1}
