@import url('./player-honors.css');
.player-profile{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-width:560px;max-height:calc(100dvh - 24px);padding:0;border:1px solid #a4ad91;border-radius:5px;background:#eeebdf;color:#243b2c;font:14px/1.45 'Segoe UI',Arial,sans-serif;overflow:auto;box-shadow:0 18px 70px #0006;color-scheme:light}
.player-profile::backdrop{background:#0c1a15b8}.profile-top{display:flex;justify-content:space-between;align-items:center;padding:11px 20px;border-bottom:1px solid #cbd0bd;font-size:10px;letter-spacing:1.7px;font-weight:650}.profile-top button{padding:4px 7px;border:0;background:transparent;color:#2b4433;cursor:pointer;font-size:16px}.profile-top a{color:#37533c;text-decoration:none;letter-spacing:0;font-size:12px}
.profile-content{padding:22px}.profile-hero{display:flex;align-items:center;gap:16px}.profile-insignia{width:66px;height:76px;flex:none;display:grid;place-items:center;background:#294733;border:1px solid #b5a372;border-radius:4px;box-shadow:inset 0 0 0 5px #294733,inset 0 0 0 6px #b5a37255;color:#e2c77d;font:30px Georgia,serif}.profile-test-badge{display:inline-block;background:#ddd5b9;color:#665c35;font-size:9px;font-weight:700;letter-spacing:1px;border-radius:3px;padding:2px 7px}.player-profile h1{font:30px/1.15 Georgia,serif;margin:7px 0 3px;overflow-wrap:anywhere}.profile-hero p{margin:0;color:#5c6e58;font-size:13px}.profile-local-note{font-size:11px;color:#68745f;margin:16px 0 20px}
.player-profile .profile-form{display:block}.profile-form>label{display:block;font-size:12px;font-weight:650;margin-bottom:6px}.profile-name-row{display:flex;gap:7px}.player-profile input[name=nickname]{box-sizing:border-box;min-width:0;flex:1;border:1px solid #aebaa1;border-radius:3px;background:#f8f6ed;color:#273f2e;padding:9px 10px;font:14px 'Segoe UI',sans-serif}.player-profile button[type=submit],.player-profile [data-profile-reset]{min-height:38px;padding:8px 13px;border:1px solid #506d48;border-radius:3px;background:#3d5e43;color:#fff;font:12px 'Segoe UI',sans-serif;cursor:pointer}.profile-form small{display:block;font-size:10px;color:#707961;margin-top:5px}.profile-message{min-height:17px;margin:8px 0 14px;font-size:12px;color:#3c6744}.profile-error{color:#9a3d32}.player-profile :focus-visible{outline:2px solid #557d60;outline-offset:3px}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.profile-stats>div{display:flex;align-items:center;flex-direction:column;background:#e0e4d4;border:1px solid #c3cdb7;padding:11px 5px;border-radius:3px;text-align:center}.profile-stats b{font:24px Georgia,serif}.profile-stats span{font-size:10px;color:#65755d;margin-top:4px}.player-profile h2{font-size:12px;letter-spacing:.5px;margin:0 0 10px}.profile-ranks{margin-top:24px}.profile-ranks ol{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:0}.profile-ranks li{display:flex;gap:6px;align-items:center;padding:8px 7px;border:1px solid #c8cfbd;border-radius:3px;font-size:11px;color:#78836c}.profile-ranks li.current{background:#d5dfc6;border-color:#81976b;color:#365034;font-weight:650}.profile-ranks p,.profile-account p,.profile-reset p{font-size:11px;color:#69765f;margin:12px 0 0}.profile-account{margin-top:22px;padding-top:17px;border-top:1px solid #cbd0bd}.profile-account p{margin-top:0}.profile-reset{margin-top:20px;padding-top:13px;border-top:1px solid #cbd0bd}.profile-reset summary{cursor:pointer;color:#746648;font-size:11px}.profile-reset label{display:flex;align-items:flex-start;gap:7px;font-size:11px;margin:12px 0}.profile-reset input{margin:2px 0;accent-color:#496b48}.profile-reset [data-profile-reset]{background:#796849;border-color:#796849;font-size:11px}.player-profile button:disabled{opacity:.45;cursor:default}.profile-release-note{font-size:10px;color:#7c836d;margin:17px 0 0}
.player-profile-page{margin:0;min-height:100dvh;display:grid;place-items:start center;background:radial-gradient(ellipse at top,#36503a,#172c23 65%);padding:28px 0;box-sizing:border-box}.player-profile-page .player-profile{max-height:none;overflow:visible}
@media(max-width:420px){.profile-content{padding:17px}.profile-top{padding:10px 16px}.profile-ranks ol{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-name-row{gap:5px}.player-profile h1{font-size:27px}.profile-hero{gap:12px}.profile-insignia{width:55px;height:68px}.profile-stats span{font-size:9px}.player-profile-page{padding:12px 0}}

/* Shared Leutnant shoulder insignia in the profile and start overview. */
.profile-insignia,.hub-rank-sign{background:transparent;border:0;border-radius:0;box-shadow:none}.profile-insignia img,.hub-rank-sign img{display:block;width:100%;height:100%;object-fit:contain}

.profile-ranks li img{display:block;flex:none;width:24px;height:33px;object-fit:contain}.profile-ranks li span{min-width:0;overflow-wrap:anywhere}.profile-ranks li:last-child{grid-column:1/-1}
@media(max-width:420px){.profile-ranks li:last-child{grid-column:auto}}

.profile-ranks .profile-officer-ranks li:last-child{grid-column:auto}.profile-general-heading{font-size:11px;letter-spacing:.6px;margin:19px 0 8px;color:#6c795f}.profile-ranks .profile-general-ranks{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-ranks .profile-general-ranks li{padding:10px;min-height:72px;gap:10px;color:#617055}.profile-ranks .profile-general-ranks li:last-child{grid-column:auto}.profile-ranks .profile-general-ranks img{width:28px;height:60px}.profile-ranks .profile-branch-grade{display:block;grid-column:1/-1;border-color:#b5ad8d;background:#e8e6d8}.profile-branch-grade>small{display:block;font-size:8px;letter-spacing:.5px;color:#867447;margin:0 0 8px}.profile-branch-grade>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-branch-grade>div>div{display:flex;gap:10px;align-items:center;min-width:0}.profile-rank-credit a{color:#63774f}.profile-ranks .profile-specialisation{padding:10px 12px;background:#e2e6d6;border-left:2px solid #b6a16a;font-size:10px}.profile-ranks .profile-rank-credit{font-size:9px}
