/* Shared extensions keep the existing ocean-blue, silver and gold theme. */
.language-mount{position:relative;flex-shrink:0}.language-picker{position:relative;color:#e2edf2;font:14px/1.4 Inter,Arial,sans-serif;text-align:left;z-index:70}.language-picker summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;cursor:pointer;padding:10px 12px;border:1px solid #496779;border-radius:4px;background:#0c2030;min-height:42px;min-width:80px;color:#e2edf2}.language-picker summary::-webkit-details-marker{display:none}.language-picker summary:after{content:'⌄';color:#9fc8dc}.language-picker img{display:block;width:24px;height:16px;object-fit:cover;border-radius:2px}.language-options{position:absolute;right:0;top:calc(100% + 8px);min-width:230px;padding:6px;border:1px solid #486272;background:#091a27;box-shadow:0 16px 40px #0008;border-radius:5px}.language-options button{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px;width:100%;background:transparent;border:0;color:#dceaf1;text-align:left;font:14px/1.4 Inter,Arial,sans-serif;border-radius:3px;cursor:pointer;letter-spacing:normal}.language-options button:hover,.language-options button[aria-pressed=true]{background:#204255;color:#f1d49b}.standalone-language{position:fixed;right:22px;top:18px;z-index:1000}.language-picker:focus-within summary,a:focus-visible,button:focus-visible{outline:2px solid #abe7f3;outline-offset:4px}.profile-link{color:#b2e5f1!important;text-decoration:none!important;border-bottom:1px solid #72b2c64d;cursor:pointer;font-weight:500}.profile-link:hover{color:#e7cb8d!important;border-color:#e7cb8d}.community-hint{color:#a8becc;font-size:0.875rem;line-height:1.7;margin:14px 0 24px}.rankings-main .ranking-panel .ranking-scroll{max-width:100%;overflow:auto}.leaderboard th,.leaderboard td{white-space:nowrap}.community-main{max-width:1250px;margin:auto;padding:145px 5% 60px;color:#e2edf2}.profile-shell{border:1px solid #345160;background:linear-gradient(130deg,#112b3a,#081723);border-radius:8px;overflow:hidden;margin:24px 0}.profile-top{padding:30px;border-bottom:1px solid #36515f;background:linear-gradient(120deg,#102b3ddd,#0a2031b8),url('assets/dragon-selected.webp') 72% 46%/cover;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.profile-top h1,.profile-top h2{font:500 clamp(30px,4vw,46px)/1.2 Cinzel,Georgia,serif;color:#ecdbb9;margin:12px 0}.profile-top p{color:#c0d3df;font-size:1rem;line-height:1.8;margin:5px 0}.profile-kicker{font-size:0.875rem;letter-spacing:1.5px;text-transform:uppercase;color:#d5ba83}.profile-status{display:inline-block;color:#b8d2e1;border:1px solid #5b7b8e;padding:6px 12px;border-radius:4px;font-size:0.875rem;white-space:nowrap}.profile-status.online{color:#b7e8de;border-color:#4f8c81}.profile-content{padding:28px}.profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 24px}.profile-stat{padding:16px;background:#061723;border:1px solid #2e4e61;border-radius:4px;min-width:0}.profile-stat strong{display:block;font-size:1.6875rem;color:#dbedf4;font-weight:500;overflow-wrap:anywhere}.profile-stat span{display:block;font-size:0.875rem;color:#adc4d0;margin-top:7px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-section{background:#0b1e2b;border:1px solid #2e4a5b;padding:23px;border-radius:5px;min-width:0}.profile-section h2,.profile-section h3{font:500 23px/1.4 Cinzel,Georgia,serif;color:#dec99c;margin:0 0 18px}.profile-section p,.profile-section li,.profile-facts{font-size:1rem;color:#bdd0dc;line-height:1.75}.profile-facts{margin:0}.profile-facts div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #284657}.profile-facts dt{font-size:0.875rem;color:#9db8ca}.profile-facts dd{margin:0;text-align:right}.profile-gear{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gear-slot{border:1px solid #395969;background:#091925;padding:14px;color:#e1d5b8;line-height:1.65;font-size:0.875rem}.gear-slot small{display:block;color:#89b8cc;font-size:0.875rem}.profile-badges{display:grid;gap:12px}.profile-badge{display:flex;gap:16px;align-items:center;border:1px solid #3b5866;padding:14px;background:#132b38}.profile-badge.locked{background:#0b1b28;color:#9db0bb}.profile-badge>b{color:#d9bd7d;font:30px Georgia}.profile-badge strong{display:block;font-size:1rem}.profile-badge span{display:block;font-size:0.875rem;color:#aac2cf;margin-top:5px}.profile-table-wrap{width:100%;overflow:auto}.profile-table{border-collapse:collapse;width:100%;min-width:640px}.profile-table th,.profile-table td{text-align:left;border-bottom:1px solid #2e4a5b;padding:15px 13px;font-size:0.875rem;white-space:nowrap}.profile-table th{color:#d8c69e;font-weight:500}.profile-footer{display:flex;justify-content:flex-end;gap:15px;margin-top:22px;flex-wrap:wrap}.profile-button{display:inline-block;border:1px solid #8e7a50;padding:12px 20px;background:#5e4d2d;color:#fff1cf!important;text-decoration:none;border-radius:4px;font-size:0.875rem}.community-dialog{max-width:740px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;padding:0;background:#0b1d2a;color:#dceaf3;border:1px solid #688392;border-radius:8px;box-shadow:0 20px 100px #0009}.community-dialog::backdrop{background:#020a13cf;backdrop-filter:blur(5px)}.community-dialog .profile-shell{margin:0;border:0;border-radius:0}.community-dialog .profile-top{padding-top:52px}.community-dialog .profile-top h2{font-size:2.25rem}.community-dialog-close{position:absolute;right:12px;top:12px;z-index:3;min-width:40px;min-height:40px;border:1px solid #567287;background:#0c2232;color:#e3eff5;border-radius:4px;cursor:pointer;font-size:1.5rem}.profile-notice{padding:14px 18px;border-left:2px solid #a69061;background:#102838;color:#b6cdd9;font-size:0.875rem;line-height:1.6}.profile-fullwidth{grid-column:1/-1}.featured-members{display:flex;gap:12px;flex-wrap:wrap}.featured-members a{display:inline-block;padding:10px 14px;background:#132e40;border:1px solid #3b5c70;border-radius:4px}.equipment-privacy{border-top:1px solid #355060;margin-top:22px;padding-top:15px}.equipment-privacy label{display:flex;align-items:center;gap:10px;font-size:0.875rem}.equipment-privacy input{width:18px;height:18px;accent-color:#d8bc80}.equipment-privacy p{margin:8px 0;font-size:0.875rem}.panel-community-link{margin-top:18px;display:inline-block}.preview-feedback{padding:14px;border:1px solid #52748a;background:#102b3d;color:#dfebf3;border-radius:4px;font-size:0.875rem}.legacy-currency{font-size:inherit}.community-main h1,.community-dialog h2,.profile-top h1{letter-spacing:normal}.profile-stats.two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.header{gap:14px}.header nav{gap:16px}.header-actions{gap:10px}.community-main{padding-top:120px}.profile-grid{grid-template-columns:1fr}.profile-fullwidth{grid-column:auto}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.language-options{max-width:calc(100vw - 32px)}}
@media(max-width:600px){.community-main{padding:110px 16px 40px}.profile-top,.profile-content{padding:22px 18px}.profile-top h1,.profile-top h2{font-size:2rem}.profile-stat{padding:13px}.profile-stat strong{font-size:1.5rem}.profile-gear{grid-template-columns:1fr}.profile-section{padding:18px}.profile-facts div{gap:12px;flex-wrap:wrap}.profile-facts dd{text-align:left}.profile-table{min-width:570px}.language-picker summary{padding:8px;min-width:76px}.community-dialog .profile-top{padding-top:56px}.community-dialog .profile-top h2{font-size:1.875rem}.community-dialog .profile-stats{gap:10px}.profile-footer .profile-button{width:100%;text-align:center}.leaderboard th,.leaderboard td{font-size:0.875rem}.standalone-language{right:12px;top:10px}}
/* Leave room for longer Greek, Brazilian Portuguese and Russian navigation labels. */
@media(max-width:1100px){.header nav{display:none;position:absolute;top:100%;left:0;right:0;height:auto;padding:22px 6%;background:#071722fa;border-bottom:1px solid #355060;flex-direction:column;align-items:flex-start;gap:20px}.header nav.open{display:flex}.header nav a{font-size:1rem}.header nav a.active:after{bottom:-5px}.header .menu{display:block}.header .header-actions{margin-left:auto}.header .brand{flex-shrink:0}}
@media(max-width:600px){.header .small-button{display:none}.header{padding-left:5%;padding-right:5%;gap:10px}.header .brand{font-size:1.0625rem;gap:10px}.header .brand .crest{font-size:2rem}.header-actions{gap:12px}}
.leaderboard th,.rates-table,.rates-table thead th,.compact-specs dt,.schedule,.command-list>div,.info-shortcuts a,.enchant-summary span,.event-tags span{font-size:0.875rem}.ranking-note,.card-note,.draft-notice p{font-size:0.875rem}.ranking-heading .eyebrow{font-size:0.875rem}.community-main .community-hint{margin-top:0}.profile-top .profile-kicker{display:block;max-width:100%}.profile-section ul{margin-bottom:0}
@media(prefers-reduced-motion:reduce){.community-dialog::backdrop{backdrop-filter:none}}
