body.reborn dialog.profileDialog{position:fixed;inset:0;margin:auto;width:820px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:32px;overflow:auto;box-sizing:border-box;background:#192b29;color:#f1eddf;border:1px solid #788166;border-radius:22px;box-shadow:0 24px 100px #0008;font-family:var(--rb-font);text-align:left}
body.reborn dialog.profileDialog::backdrop{background:#040c0bd9;backdrop-filter:blur(5px)}
body.reborn .profileDialog h2{margin:12px 0 14px;font:normal 34px/1.18 Georgia,serif;color:#f5efdf;overflow-wrap:anywhere}
.profileEyebrow{color:#e4be78;font-size:11px;letter-spacing:2px;font-weight:750}.profileHint{color:#bdc9c0;line-height:1.65;font-size:14px}.profileAvatarGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0;max-width:560px}
.profileAvatarTabs{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}.profileAvatarTabs button{border:1px solid #526e5c;border-radius:9px;background:#20372f;color:#d9e4d8;padding:10px 18px}.profileAvatarTabs [aria-pressed=true]{background:#e7bf7a;color:#24332a;border-color:#e7bf7a}.profileAvatarPicker .profileAvatarGrid{margin-top:14px;margin-bottom:12px}
body.reborn button.profileAvatarChoice{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;border:2px solid #40594e;border-radius:14px;background:#203630;padding:6px;color:#f2ead9;cursor:pointer;text-align:center}
.profileAvatarChoice img{width:100%;max-width:112px;height:auto;aspect-ratio:1;border-radius:50%;object-fit:cover}.profileAvatarChoice[aria-pressed=true]{border-color:#edc277!important;background:#3d4931!important;box-shadow:0 0 0 2px #e7bd7720}
.profileSelectionStatus{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.profileAvatarChoice[aria-pressed=true]::after{content:'✓';position:absolute;right:8px;top:8px;border-radius:50%;background:#eac17c;color:#1b2c25;width:23px;height:23px;line-height:23px;font-weight:bold}
.profileActions{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.profileDialog button{font:600 14px/1.4 var(--rb-font);min-height:44px}.profileDialog .profilePrimary{background:#e6bd77;color:#203128;border-color:#e6bd77}.profileDialog button:focus-visible,.profileGreeting:focus-visible{outline:3px solid #f1cd8c;outline-offset:3px}
.profileDialog input{width:100%;box-sizing:border-box;margin-top:10px;padding:13px;font:inherit;border:1px solid #63775d;background:#10221f;color:#f4eddf;border-radius:9px}.profileDialog label{display:block;font-size:14px;font-weight:650}.profileDialog .profileNameLine{margin:20px 0}.profileDialog .profileNameLocked{padding:14px;border:1px solid #576647;border-radius:10px;color:#ead09a}
.profileChoices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.profileChoice{display:flex;flex-direction:column;align-items:start;gap:12px;text-align:left!important;padding:24px!important;border:1px solid #647155!important;background:#213a31!important;border-radius:14px}.profileChoice strong{font:normal 26px/1.2 Georgia,serif}.profileChoice small{color:#bfcfc1;font-weight:400;line-height:1.6}.profileChoice span{color:#e7bf7d}
.profileSummary{padding-left:24px;line-height:1.8;color:#d6dfd1}.profileSummary li{margin:14px 0}.profileDialogHeader{display:flex;justify-content:space-between;align-items:center;gap:16px}.profileDialogHeader button{background:transparent;border:1px solid #526b59;color:#d9e5d8;padding:6px 12px;border-radius:8px}.profileConfirmation{padding:20px;background:#243c30;border:1px solid #7a8156;border-radius:12px}.profileConfirmation p{line-height:1.7;white-space:pre-line}
.profileGreeting{display:flex;align-items:center;gap:12px;color:#ece6d4;text-decoration:none;margin-bottom:18px;min-width:0;max-width:100%;padding:2px}.profileGreeting img,.academy-avatar{border-radius:50%;object-fit:cover}.profileGreeting span{font:normal 21px/1.3 Georgia,serif;overflow-wrap:anywhere}.profileGreeting small{color:#c6ab70;font-size:11px;margin-left:auto;flex-shrink:0}.academy-avatar{display:block;margin:14px 0 4px;border:2px solid #d9b777;width:112px;height:112px}
body.reborn dialog.campusTour{inset:auto 24px 24px auto;margin:0;width:420px;padding:26px;max-height:48dvh}.campusTour::backdrop{background:#040c0b55!important;backdrop-filter:none!important}.campusTour h2{font-size:28px!important}.campusTourTarget{outline:3px solid #e9c17b!important;outline-offset:5px}.tourProgress{color:#dac088;font-size:12px;letter-spacing:1px}.campusTour .profileActions{justify-content:space-between;gap:8px}.campusTour .profileHint{margin-bottom:0}
.campusTourTarget{scroll-margin-top:170px}
.academyPortrait{position:relative;flex:0 0 96px;width:96px;height:96px}.academyAvatarPlaceholder{box-sizing:border-box;width:100%;height:100%;padding:22px;border:2px solid #b79d65;border-radius:50%;background:#263c33;color:#c9b582}body.reborn #academyStatus .academyAvatarBtn{position:absolute;left:-5px;top:-5px;display:grid;place-items:center;width:28px;height:28px;min-width:28px;min-height:28px;margin:0;padding:5px;border:2px solid #182923;border-radius:50%;background:#e6bd77;color:#24352c;box-shadow:0 2px 5px #0005;cursor:pointer}body.reborn #academyStatus .academyAvatarBtn svg{width:14px;height:14px}body.reborn #academyStatus .academyAvatarBtn::before{content:'';position:absolute;inset:-7px}body.reborn #academyStatus .academyAvatarBtn:focus-visible{outline:3px solid #f1cd8c;outline-offset:3px}
@media(max-width:380px){.academyPortrait{flex-basis:76px;width:76px;height:76px}}
body.reborn #academyStatus .academyIdentity{display:flex;align-items:center;gap:16px;margin:10px 0;min-width:0}body.reborn #academyStatus .academyIdentity .academy-avatar{flex:0 0 96px;width:96px;height:96px;margin:0;box-sizing:border-box}body.reborn #academyStatus .academyIdentityDetails{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}body.reborn #academyStatus .academyIdentityDetails .academy-username{font-size:20px;line-height:1.2}body.reborn #academyStatus .academyStudentNumber{font:12px/1.4 monospace;color:#b8c7bb}body.reborn #academyStatus .academyIdentityDetails>strong:not(.academy-username){font-size:14px;line-height:1.3}
@media(max-width:380px){body.reborn #academyStatus .academyIdentity{gap:12px}body.reborn #academyStatus .academyIdentity .academy-avatar{flex-basis:76px;width:76px;height:76px}body.reborn #academyStatus .academyIdentityDetails .academy-username{font-size:18px}}
@media(max-width:600px){body.reborn dialog.profileDialog{padding:24px 16px;border-radius:16px}.profileAvatarGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.profileAvatarChoice img{max-width:108px}.profileDialog h2{font-size:29px!important}.profileChoices{grid-template-columns:1fr;gap:12px}.profileChoice{padding:20px!important}.profileGreeting span{font-size:19px}.profileGreeting img{width:42px;height:42px}.profileGreeting small{max-width:65px;text-align:right;line-height:1.5}.profileActions>button{flex:1}.profileHint{font-size:13px}body.reborn dialog.campusTour{inset:auto 12px 12px;width:calc(100vw - 24px);max-width:none;max-height:47dvh;padding:20px}}

@media(max-width:600px){body.reborn button.profileAvatarChoice{padding:4px;border-radius:10px}.profileAvatarChoice[aria-pressed=true]::after{width:18px;height:18px;line-height:18px;right:2px;top:2px;font-size:12px}}
