
 * { box-sizing: border-box; }
 body {
     margin: 0;
     font-family: 'Fixedsys Excelsior', monospace;
     color: #FFF;
     background-color: #2033A5;
 }
 @font-face {
     font-family: 'Fixedsys Excelsior';
     src: url('../FixedsysExcelsior.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
 }
 @font-face {
     font-family: 'Fixedsys Excelsior';
     src: url('../FixedsysExcelsior.ttf') format('truetype');
     font-weight: bold;
 }
 @font-face {
     font-family: 'Fixedsys Excelsior';
     src: url('../FixedsysExcelsior.ttf') format('truetype');
     font-style: italic;
 }
 @font-face {
     font-family: 'Fixedsys Excelsior';
     src: url('../FixedsysExcelsior.ttf') format('truetype');
     font-style: italic;
     font-weight: bold;
 }
 body, button, input {
     font-family: 'Fixedsys Excelsior', monospace;
 }

 #wrapper {
 width: 100vw; min-height: 100vh;
 display: flex; align-items: center; justify-content: center;
 padding: 30px 20px;
 }
 #content {
 width: 100%;
 display: flex; align-items: flex-start; justify-content: center;
 background-color: #5B7DDB;
 border-top: solid 1px #BADFF5;
 border-bottom: solid 1px #BADFF5;
 padding: 30px 0;
 }
 #accountWrap {
 width: 100%; max-width: 600px;
 background: linear-gradient(90deg, #1745A9, #1745A9, #3058B9, #3B65C5, #5A7BE7);
 border-radius: 8px;
 box-shadow: -1px -1px 2px #95B4EE, 0 8px 24px rgba(0,0,0,.25);
 margin: 10px;
 color: #FFF;
 padding: 28px 32px;
 position: relative;
 }
 #accountWrap h1 { margin: 0 0 18px; font-size: 20pt; }
 .section { border-top: 1px solid rgba(255,255,255,.3); padding: 18px 0; }
 .section:first-of-type { border-top: none; padding-top: 0; }
 .section h2 { font-size: 12.5pt; margin: 0 0 12px; font-weight: bold; }
 .row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
 .row label { font-size: 10.5pt; }
 .login-input {
     height: 36px; width: 100%;
     border-radius: 5px;
     box-shadow: 2px 2px 2px #000;
     border: none; outline: none;
     padding: 6px 12px;
     font-size: 12pt;
 }
 .btn-green, .btn-secondary, .btn-danger {
     height: 40px; width: 100%; border-radius: 5px;
     border: solid 1px #FFF; cursor: pointer;
     color: white; font-weight: bold; font-size: 14px;
     transition: background .2s;
 }
 .btn-green { background: #198C19; }
 .btn-green:hover { background: #24b324; }
 .btn-secondary { background: transparent; }
 .btn-secondary:hover { background: rgba(255,255,255,.15); }
 .btn-danger { background: #a11; }
 .btn-danger:hover { background: #d22; }
 .muted { font-size: 10pt; opacity: .85; margin: 6px 0; }
 .msg { font-size: 10.5pt; margin-top: 6px; min-height: 16px; }
 .msg.ok { color: #b6ffb6; }
 .msg.err { color: #ffb3b3; }
 .confirm-box {
     display: none; margin-top: 10px; padding: 10px;
     border: 1px solid #ffb3b3; border-radius: 5px;
     background: rgba(0,0,0,.2);
 }
 .confirm-box.active { display: block; }

 .profile-head {
     display: flex; flex-direction: column; gap: 4px;
     margin-bottom: 16px;
 }
 .profile-head .name { font-weight: bold; font-size: 13pt; }
 .profile-head .email { font-size: 10.5pt; opacity: .85; word-break: break-all; }

 .rank-block {
     background: rgba(0,0,0,.18); border-radius: 6px;
     padding: 14px; margin-bottom: 14px;
 }
 .rank-head {
     display: flex; align-items: center; justify-content: space-between;
     flex-wrap: wrap; gap: 6px; margin-bottom: 8px;
 }
 .rank-title { font-weight: bold; font-size: 12pt; }
 .rank-tokens { font-weight: bold; font-size: 12pt; color: #ffe57a; }
 .rank-bar {
     height: 8px; width: 100%; background: rgba(255,255,255,.15);
     border-radius: 4px; overflow: hidden; margin: 6px 0;
 }
 .rank-bar-fill {
     height: 100%; width: 0%; background: #ffe57a;
     border-radius: 4px; transition: width .3s;
 }
 .rank-hint { font-size: 9.5pt; opacity: .85; }
 .rank-steps {
     display: flex; justify-content: space-between; margin-top: 10px;
     font-size: 9pt; opacity: .75; gap: 4px;
 }
 .rank-steps span { flex: 1; text-align: center; }
 .rank-steps span.current { opacity: 1; font-weight: bold; color: #ffe57a; }

 @media (max-width: 700px) {
     #wrapper { padding: 15px 10px; }
     #content { padding: 15px 0; }
     #accountWrap { padding: 18px 16px; margin: 6px; }
     #accountWrap h1 { font-size: 16pt; }
     .section h2 { font-size: 11.5pt; }
     .login-input { font-size: 16px; }
 }
