.avatar612{display:inline-block;position:relative;flex:none;width:54px;height:54px;border-radius:50%;border:2px solid #dfbd66;overflow:hidden;background:linear-gradient(135deg,#cceaf5,#eff8fd);box-sizing:border-box;vertical-align:middle}.avatar612 img{display:block;width:100%;height:100%;object-fit:cover}.avatar612.large612{width:106px;height:106px;border-width:3px;box-shadow:0 4px 14px #102f4533}.avatar612.header612{width:100%;height:100%;border:0;border-radius:10px}.avatar-sprite-fallback612 img{position:absolute;inset:0;width:400%;height:200%;max-width:none;object-fit:fill}.profile-card612{color:#214856;overflow:hidden;border:1px solid #aecbd8;border-radius:18px;background:linear-gradient(150deg,#fffdf6,#eef8fc);margin-bottom:14px}.profile-cover612{height:92px;background:linear-gradient(0deg,#d6edfa11,#4aa7cc33),url('/assets/sky-v604.png') center 40%/cover}.profile-identity612{display:flex;align-items:center;gap:15px;padding:0 18px;margin-top:-37px;position:relative}.profile-identity612>div{padding-top:30px;min-width:0}.profile-identity612 h2{margin:5px 0 2px;font:750 24px/1.2 system-ui;overflow-wrap:anywhere}.profile-identity612 h2 small{color:#a97720;font-size:.7em}.profile-identity612 small{color:#67828e}.profile-vip612{display:inline-block;padding:4px 9px;background:linear-gradient(#ffe7a1,#f2c360);border:1px solid #dba937;border-radius:8px;color:#785013;font-size:12px;font-weight:800}.profile-stats612,.profile-facts612{display:flex;flex-wrap:wrap;gap:8px;padding:8px 18px}.profile-stats612>span,.profile-facts612>span{padding:6px 10px;border:1px solid #c2dce5;background:#fff9;border-radius:20px;font-size:12px}.profile-actions612{display:flex;flex-wrap:wrap;gap:7px;padding:8px 18px}.profile-actions612 button{font-size:12px;padding:9px 12px}.profile-gallery612{padding:0 18px 16px}.profile-gallery-head612{display:flex;align-items:center;justify-content:space-between}.profile-gallery-head612 h3{font:700 15px system-ui}.gallery-grid612{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.gallery-tile612{min-width:0;border:1px solid #bad6e1;border-radius:12px;overflow:hidden;background:#f9fcff}.photo-thumb612{display:block;width:100%;aspect-ratio:1.15;margin:0;padding:0;border:0!important;border-radius:0;background:#deedf5;overflow:hidden;box-shadow:none!important}.photo-thumb612 img{width:100%;height:100%;object-fit:cover;display:block}.gallery-tile612>div{display:flex;flex-wrap:wrap;gap:4px;padding:5px}.gallery-tile612>div button{flex:1;padding:5px;font-size:10px;min-width:0}.photo-state612{display:block;font-size:10px;padding:4px 6px;color:#5b7a87}.status-pending,.status-flagged{background:#fff2c9;color:#916521}.gallery-add612{border:2px dashed #accedb;border-radius:12px;min-height:120px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;color:#3a7b9a;font-size:35px;cursor:pointer}.gallery-add612 small{font-size:11px}.profile-note612{font-size:11px;line-height:1.5;color:#6b8590}.profile-edit612 label,#photoCompose612 label,#reportPhoto612 label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:12px 0}.profile-edit612 input:not([type=radio]):not([type=checkbox]),.profile-edit612 select,#photoCompose612 textarea,#reportPhoto612 select{width:100%;box-sizing:border-box;min-height:43px}.profile-edit612 h3{font:700 14px system-ui;margin:20px 0 10px}.hero-avatar-grid612{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;max-height:330px;overflow:auto;padding:5px}.hero-avatar-grid612 button{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 3px;min-width:0;border-radius:12px}.hero-avatar-grid612 .avatar612{width:56px;height:56px}.hero-avatar-grid612 small{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar-rarity612{position:absolute;top:3px;left:3px;font-size:8px;background:#315b75;color:#fff;border-radius:4px;padding:1px 3px}.profile-choices612{display:flex;flex-wrap:wrap;gap:6px}.profile-choices612 label{margin:0!important;flex:1;min-width:75px;cursor:pointer}.profile-choices612 input{position:absolute;opacity:0;width:1px}.profile-choices612 span{padding:10px 7px;text-align:center;border:1px solid #b3d1dd;border-radius:10px;background:#eff7fc;font-size:12px}.profile-choices612 input:checked+span{background:#ffe7a0;border-color:#d5ab44;color:#785317}.profile-edit612 .profile-check612{flex-direction:row;align-items:center;font-size:12px}.profile-check612 input{width:18px;height:18px}.profile-loading612{text-align:center;padding:30px}.profile-inline612 .profile-identity612 h2{font-size:22px}.media-lightbox612 img{display:block;width:100%;max-height:65dvh;object-fit:contain;border-radius:12px}.media-lightbox612 button{margin-top:12px}.review-grid612{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.review-grid612 article{border:1px solid #b3cedc;border-radius:12px;overflow:hidden;background:#f8fcff;min-width:0}.review-grid612 strong,.review-grid612 small{display:block;padding:5px;font-size:12px}.review-grid612 article>div{display:flex;gap:5px;padding:5px}.review-grid612 button{font-size:11px;padding:7px;flex:1}.chat-avatar612{padding:0!important;border:0!important;background:none!important;box-shadow:none!important}.chat-avatar612 .avatar612{width:30px;height:30px}.chat-message601>div:first-child{align-items:center;gap:6px}.chat-photo612{display:block;max-width:250px;width:100%;padding:0!important;border:0!important;background:none!important;margin:6px 0;overflow:hidden;border-radius:11px}.chat-photo612 img{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:11px}.photo-removed612{display:block;font-size:11px;color:#b2cbd8;margin:7px}.media-unavailable612{min-height:60px;display:grid;place-items:center;background:#dce9ef}.media-unavailable612:after{content:'▧';color:#8ba5b0;font-size:24px}.photo-choose612{padding:22px;background:#edf7fb;border:2px dashed #aacbda;border-radius:13px;text-align:center;align-items:center;cursor:pointer}.photo-choose612>span{font-size:36px;color:#5c94af}.photo-choose612 input{font-size:12px;max-width:100%}#photoPreview612{display:block;max-width:100%;max-height:260px;margin:10px auto;object-fit:contain;border-radius:12px}#photoPreview612[hidden]{display:none}.tile-tag612{display:block;font-size:.85em;color:#ffdf82;line-height:1.1}.world-cell .tile-name:has(.tile-tag612){white-space:normal!important;line-height:1.1}.profile-open-small612{padding:5px 10px;font-size:11px}.game-hud598 header #accountButton:has(.avatar612){padding:0}.profile-gallery612 .gallery-grid612:empty{display:none}@media(max-width:600px){.profile-identity612{gap:10px;padding:0 12px}.profile-identity612 h2{font-size:20px}.avatar612.large612{width:86px;height:86px}.profile-cover612{height:80px}.profile-identity612{margin-top:-30px}.profile-identity612>div{padding-top:25px}.profile-gallery612{padding:0 11px 12px}.profile-actions612,.profile-stats612,.profile-facts612{padding-left:11px;padding-right:11px}.gallery-grid612{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-avatar-grid612{grid-template-columns:repeat(4,minmax(0,1fr))}.review-grid612{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-choices612 span{font-size:11px}.profile-actions612 button{font-size:11px}.chat-photo612{max-width:210px}}

/* 613: alliance tag above a single, non-wrapping presence/name row. */
.world-grid .world-cell.player-cell .tile-name{display:flex;flex-direction:column;align-items:stretch;gap:1px;left:2px;right:2px;bottom:2px;max-width:calc(100% - 4px);box-sizing:border-box;padding:2px 3px;border-radius:4px;background:rgba(12,47,65,.86);color:#f3fbff;text-shadow:none;white-space:nowrap!important;line-height:1.15;overflow:hidden;z-index:3;pointer-events:none}
.world-grid .world-cell .tile-name .tile-tag612{display:block;min-width:0;max-width:100%;font-size:.75em;line-height:1.15;font-weight:700;color:#ffe09a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.world-grid .world-cell .tile-identity613{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;max-width:100%;white-space:nowrap;line-height:1.15}
.world-grid .world-cell .tile-player613{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.15}
.world-grid .world-cell .tile-identity613 .online-dot605{display:block;flex:0 0 auto;margin:0;width:clamp(5px,calc(5px * var(--marker-scale603,1)),10px);height:clamp(5px,calc(5px * var(--marker-scale603,1)),10px);box-sizing:border-box}

/* 614: compact inline chat, explicit reply target and small quotes. */
#chat601 .chat-message601,#chat601 .chat-message601.mine601{margin:4px 0;padding:5px 6px;border-radius:8px}
#chat601 .chat-message601>.chat-line614{display:grid;grid-template-columns:23px minmax(0,1fr) auto 18px;justify-content:normal;align-items:start;gap:5px}
#chat601 .chat-line614 .chat-avatar612{width:23px;height:23px;min-width:0;border-radius:50%}
#chat601 .chat-line614 .chat-avatar612 .avatar612{width:23px;height:23px;border-width:1px}
#chat601 .chat-copy614{display:block;min-width:0;font-size:13px;line-height:22px;color:#f4f9fc;overflow-wrap:anywhere}
#chat601 .chat-copy614 button{display:inline;padding:0;margin:0;font-size:12px;line-height:inherit;vertical-align:baseline}
#chat601 .chat-copy614 .chat-tag614{color:#d1e9f2;font-size:10px;font-weight:600;white-space:nowrap}
#chat601 .chat-body614{white-space:pre-wrap;overflow-wrap:anywhere}
#chat601 .chat-line614 time{padding-top:4px;font:9px/15px system-ui;white-space:nowrap}
#chat601 .chat-line614 .chat-reply-action614{font:17px/22px system-ui;min-width:18px;padding:0;color:#c7e4f1}
#chat601 .chat-message601>.chat-quote614{display:block;margin:0 0 4px 28px;padding:3px 6px;border-inline-start:2px solid #e1bb68;border-radius:3px;background:#102e3b77;font:10px/14px system-ui;color:#d7e8ef;min-width:0;overflow:hidden}
#chat601 .chat-quote614 strong{display:block;color:#ffe09b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
#chat601 .chat-quote614 span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#chat601 #replyDraft614{display:flex;align-items:center;gap:6px;padding:5px 7px;border-inline-start:3px solid #e7c575;background:#2d5263;border-radius:6px;font-size:11px}
#chat601 #replyDraft614[hidden]{display:none}
#chat601 #replyDraft614>div{min-width:0;flex:1}
#chat601 #replyDraft614 strong,#chat601 #replyDraft614 span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#chat601 #replyDraft614 strong{color:#ffe09b;font-size:11px}
#chat601 #replyDraft614 button{flex:none;min-width:25px;padding:3px 6px}
#chat601 .chat-message601>.translate-tools602,#chat601 .chat-message601>.translation602,#chat601 .chat-message601>.chat-photo612{margin-inline-start:28px}
#chat601 .chat-message601>.translate-tools602{display:flex;justify-content:flex-start;margin-top:2px;gap:6px}
#chat601 .chat-message601>.chat-photo612{max-width:min(180px,calc(100% - 28px))}
#chat601 .chat-foot601{font-size:9px;line-height:1.3}

#chat601 .chat-copy614 .chat-tag614{display:inline!important;width:auto;margin:0;padding:0}

/* Gallery photographs retain their entire frame. Avatars keep the original cover layout. */
.photo-thumb612 img{object-fit:contain;object-position:center}
