
                                                                      
@media(min-width:981px){.topbar .topbar-inner .nav-tools{flex:0 0 112px;width:112px;min-width:0;justify-content:flex-end}.topbar .nav-tools .m-header-name{display:inline-block;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}}
body[data-page=home-exact] .hero.hero-forge .hero-inner{padding-bottom:0!important}
body[data-page=home-exact] .hero-bottom .scroll-prompt{padding:0;border:0;background:none;text-align:left;cursor:pointer}
body[data-page=home-exact] .story-section--paths{border-top:0!important}
body[data-page=map] .im-map-canvas .im-map-viewport{height:600px!important;min-height:600px!important}
body[data-page=map] .im-map-canvas .im-live-dynmap{min-height:0!important}
body[data-page=map] .im-online-aside{height:602px}
.im-character-race-line i::before{content:'·';font-style:normal;color:#8f6b53;margin:0 2px}
.im-characters-standalone .profile-summary-shell,.im-characters-standalone .profile-tabs-nav{display:none!important}
.im-characters-standalone #profile-characters-owner-bar{display:none!important}
.im-characters-standalone .profile-page-section{padding-top:72px}
.im-characters-standalone #profile-tab-characters{margin:0;padding:0}
.im-characters-standalone .profile-page-layout{display:block}
.im-characters-login{padding:28px}.im-characters-login p{margin:0 0 22px}
body[data-page=search] .m-search-hit p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(max-width:980px){body[data-page=map] .im-map-canvas .im-map-viewport{height:520px!important;min-height:520px!important}body[data-page=map] .im-online-aside{height:522px}}
@media(max-width:850px){body[data-page=map] .im-online-aside{height:auto;min-height:0}body[data-page=map] .im-online-player-list{max-height:320px}}
@media(max-width:740px){body[data-page=map] .im-map-canvas .im-map-viewport{height:390px!important;min-height:390px!important}.im-characters-standalone .profile-page-section{padding-top:38px}}

body[data-page=home-exact] .hero-bottom .scroll-prompt{font-family:var(--font);font-size:10px;font-weight:800;letter-spacing:1.7px;line-height:1.55}
.auth-overlay:not(.hidden){display:flex!important;align-items:center;justify-content:center;padding:20px;background:#080604cf;backdrop-filter:blur(5px)}
.auth-overlay .auth-backdrop{background:transparent}
.auth-overlay .auth-dropdown{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;width:min(550px,100%)!important;max-height:90dvh;overflow-y:auto;padding:0;background:linear-gradient(135deg,#302117,#211711);border:1px solid #a16b44}
.auth-overlay .im-auth-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px;border-bottom:1px solid #674631}
.auth-overlay .im-auth-modal-header h2{margin:10px 0 0;font:700 32px/1.07 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#f3dfcb}
.auth-overlay .im-auth-modal-header .micro-label{font-size:10px;color:#df955c;letter-spacing:.17em;font-weight:800}
.auth-overlay .im-auth-modal-header .m-modal-close{position:static;display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #805638;background:#342317;color:#dfb998;font:28px/1 Arial}
.auth-overlay .auth-switcher{margin:24px 26px 18px}
.auth-overlay .auth-pane{padding:0 26px 26px}
.auth-overlay .auth-kicker{display:none}
.auth-overlay #auth-form-message:not([hidden]){margin:0 26px 18px}
@media(max-width:600px){.auth-overlay:not(.hidden){padding:12px}.auth-overlay .im-auth-modal-header{padding:20px}.auth-overlay .auth-switcher{margin:20px 20px 16px}.auth-overlay .auth-pane{padding:0 20px 20px}}

#auth-overlay.auth-overlay .auth-dropdown{position:relative!important;inset:auto!important;width:min(550px,100%)!important;transform:none!important}

#dimp-catalog-modal .m-modal{width:min(880px,100%);max-height:88dvh}
#dimp-catalog-modal #dimp-catalog-status:empty{display:none}
.im-source-page #reports-shell{width:min(var(--max),calc(100% - var(--s) - var(--s)));margin-inline:auto}
body[data-page=messages] .messages-thread::before{display:none;content:none}
body[data-page=messages] .messages-dialog-main{min-width:0;flex:1}
body[data-page=messages] .im-dialog-preview{display:block;margin-top:4px;color:#c5a388;font:400 11px/1.55 var(--font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body[data-page=messages] .im-dialog-meta{display:flex;flex:0 0 auto;align-items:flex-end;flex-direction:column;gap:8px;font:400 10px/1.4 var(--font);color:#b38a69}
body[data-page=messages] .im-dialog-meta b{display:flex;min-width:20px;height:20px;align-items:center;justify-content:center;background:#d58b50;color:#21140d;border-radius:50%;font-size:10px;font-weight:800}

body[data-page=messages] .messages-dialog-main{display:flex;flex-direction:column;align-items:stretch;gap:4px}
body[data-page=messages] .im-dialog-preview{margin-top:0}
body[data-page=reports] #reports-conversations{padding:0;margin:0}
body[data-page=reports] #reports-shell>.messages-sidebar{width:100%}
body:has(.auth-overlay:not(.hidden)){overflow:hidden}
.auth-overlay .auth-dropdown{overscroll-behavior:contain}
@media(max-width:740px){body[data-page=home-exact] .hero-bottom .scroll-prompt{font-size:8px;letter-spacing:1.36px}}

/* Keep the shared auth header and align both forms with the tabs. */
#auth-overlay .auth-dropdown > .m-modal-header,
#auth-overlay .im-auth-modal-header > div > .micro-label {
  display: none !important;
}
#auth-overlay .im-auth-modal-header h2 { margin-top: 0; }
#auth-overlay .auth-dropdown > .m-modal-body { padding: 0; }
#auth-overlay .auth-dropdown .auth-switcher {
  margin: 24px 26px 18px;
  padding: 0;
}
#auth-overlay .auth-dropdown .auth-pane { padding: 0 26px 26px; }
#auth-overlay .auth-field:focus-within {
  border-color: #91857c;
  outline: none;
  box-shadow: none;
}
#auth-overlay .auth-field input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 100px #19120f !important;
  -webkit-text-fill-color: #f1dfcb;
  caret-color: #f1dfcb;
}
#auth-overlay [data-auth-form="login"] { row-gap: 12px; }
#auth-overlay .auth-actions-login { margin-top: 0; padding-inline: 0; }
#auth-overlay [data-auth-forgot] { margin-top: 0; }

@media (max-width: 600px) {
  #auth-overlay .auth-dropdown .auth-switcher { margin: 20px 20px 16px; }
  #auth-overlay .auth-dropdown .auth-pane { padding: 0 20px 20px; }
}

/* Both delete states share one slot in the post action row. */
#main .m-profile-post-controls .profile-wall-delete-pair {
  position: relative !important;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
#main .m-profile-post-controls .profile-wall-delete-pair > button {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
}

#main .m-profile-post-controls > [data-wall-post-pin] {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  flex: 0 0 24px;
}
#main .m-profile-post-controls > [data-wall-post-pin] svg path {
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
#main .m-profile-post-controls > [data-wall-post-pin][aria-pressed="true"] svg path {
  fill: currentColor !important;
}

#m-social-form .im-contact-platforms { margin: 0; padding: 0; border: 0; min-width: 0; }
#m-social-form .im-contact-platforms legend { margin-bottom: 8px; }
#m-social-form .im-contact-platform-options { display: flex; flex-wrap: wrap; gap: 8px; }
#m-social-form .im-contact-platform { position: relative; display: block; cursor: pointer; }
#m-social-form .im-contact-platform input {
  position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0;
}
#m-social-form .im-contact-platform span {
  display: grid; place-items: center; width: 48px; height: 44px;
  border: 1px solid #674631; background: #241a14; color: #e4c7ac;
}
#m-social-form .im-contact-platform img { width: 23px; height: 23px; object-fit: contain; }
#m-social-form .im-contact-platform input:checked + span { background: #513421; border-color: #df955c; }
#m-social-form .im-contact-platform input:focus-visible + span { outline: 2px solid #dfb998; outline-offset: 2px; }

.im-profile-source-modal[data-recovery-kind="combined"] #recovery-email-actions > :is(#recovery-email-send, #recovery-email-change) {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 132px;
  max-width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 0 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#auth-overlay.auth-overlay:not(.hidden) {
  --auth-top-gap: clamp(16px, 6dvh, 64px);
  align-items: flex-start !important;
  padding-top: var(--auth-top-gap);
}
#auth-overlay.auth-overlay .auth-dropdown {
  margin-block: 0 !important;
  max-height: calc(100dvh - var(--auth-top-gap, 16px) - 16px);
}


body[data-page="messages"] #messages-conversations {
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
body[data-page="messages"] #messages-conversations .messages-dialog-item {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
  margin-inline: 0 !important;
  text-align: left;
}
body[data-page="messages"] #messages-conversations .messages-dialog-item.is-system {
  grid-template-columns: minmax(0, 1fr) auto;
}
body[data-page="messages"] #messages-conversations .messages-dialog-main,
body[data-page="messages"] #messages-conversations .im-dialog-preview {
  width: auto !important;
  min-width: 0;
  text-align: left !important;
}
body[data-page="messages"] #messages-conversations .im-dialog-meta {
  white-space: nowrap;
  position: static !important;
}
body[data-page="messages"] #messages-thread-list .messages-message-item {
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 4px;
}
body[data-page="messages"] #messages-thread-list .messages-message-item.is-own {
  align-items: flex-end;
}
body[data-page="messages"] :is(#messages-thread-list, #messages-reply-preview) .messages-reply-quote {
  box-sizing: border-box;
  width: fit-content;
  max-width: min(560px, 90%);
  margin: 0;
  padding: 6px 10px;
  border: 0;
  border-left: 2px solid #aa754e;
  border-radius: 0;
  background: #2b2018;
  color: #e3c4aa;
  text-align: left;
}
body[data-page="messages"] :is(#messages-thread-list, #messages-reply-preview) .messages-reply-quote:hover {
  background: #39281c;
}
body[data-page="messages"] :is(#messages-thread-list, #messages-reply-preview) :is(.messages-reply-quote-head, .messages-reply-quote-text, .messages-reply-preview-label) {
  color: #d7ad8b;
}
body[data-page="messages"] #messages-reply-preview .messages-reply-preview-card {
  max-width: 100%;
  padding: 0 38px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
