/* The two screens use the artwork approved for the portrait mobile view. */
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"], html:root body[data-screen="elementalMercenary"] {
  --ink:#f5f4ff; --silver:#c5c9df; --serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  --safe-top:env(safe-area-inset-top,0px); --safe-left:env(safe-area-inset-left,0px); --safe-right:env(safe-area-inset-right,0px);
  color-scheme:dark;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] { --mast:clamp(72px,28vw,130px); --rim:clamp(11px,2.7vw,18px); }
html:root body[data-screen="elementalMercenary"] { --mast:clamp(58px,16vw,76px); --dock:30px; --board-gutter:max(10px,2.6vw); }
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top, html:root body[data-screen="elementalMercenary"] #top {
  position:fixed!important; inset:0!important; width:100%!important; max-width:none!important;
  height:var(--viewport25,100dvh)!important; min-height:0!important; max-height:none!important;
  margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; transform:none!important; overflow:hidden!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top {background:radial-gradient(ellipse at 40% 28%,#121c39,#08122b 70%)!important;}
html:root body[data-screen="elementalMercenary"] #top {
  background:#091a42 url('/merc-celestial-261119.webp') center / 100% 100% no-repeat!important;
}
html:root body[data-screen="elementalMercenary"] #top::before, html:root body[data-screen="elementalMercenary"] #top::after {content:none!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #screenToolbar:not([hidden]), html:root body[data-screen="elementalMercenary"] #top #screenToolbar:not([hidden]) {
  position:absolute!important; inset:0 0 auto!important; height:calc(var(--safe-top) + var(--mast))!important;
  width:100%!important; max-width:none!important; min-height:0!important; box-sizing:border-box!important;
  margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; transform:none!important; background:transparent!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #screenToolbar:not([hidden])::after, html:root body[data-screen="elementalMercenary"] #top #screenToolbar:not([hidden])::after {
  content:""!important; display:block!important; position:absolute!important; inset:auto 4% 5% 4%!important;
  height:calc(var(--mast) * .25)!important; width:92%!important; margin:0!important;
  pointer-events:none!important; background:transparent url('/merc-list-flourish-261119.webp') center / min(100%,595px) 100% no-repeat!important;
  mix-blend-mode:lighten; border:0!important; box-shadow:none!important;
}
html:root body[data-screen="elementalMercenary"] #top #screenToolbar:not([hidden])::after {
  inset:auto 10% 2% 10%!important;width:80%!important;height:calc(var(--mast) * .28)!important;
  background-image:url('/merc-board-flourish-261119.webp')!important;background-size:min(100%,535px) 100%!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #screenToolbar:not([hidden]) #screenTitle, html:root body[data-screen="elementalMercenary"] #top #screenToolbar:not([hidden]) #mercBoardHeading {
  position:absolute!important; display:block!important; visibility:visible!important; opacity:1!important; clip:auto!important; clip-path:none!important;
  inset:var(--safe-top) 0 auto!important; transform:none!important; width:100%!important; height:calc(var(--mast) * .72)!important;
  max-width:none!important; box-sizing:border-box!important; margin:0!important; padding:0 70px!important;
  color:var(--ink)!important; -webkit-text-fill-color:currentColor!important; background:none!important;
  font:700 clamp(23px,6.9vw,34px)/1.12 var(--serif)!important; letter-spacing:.07em!important;
  align-content:center; text-align:center!important; white-space:nowrap!important; overflow:visible!important; pointer-events:none;
  text-shadow:0 1px 4px #020b25!important;
}
html:root body[data-screen="elementalMercenary"] #top #screenToolbar #screenTitle {display:none!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #screenToolbar #screenBack, html:root body[data-screen="elementalMercenary"] #top #screenToolbar #screenBack {
  position:absolute!important; z-index:2!important; inset:calc(var(--safe-top) + var(--mast) * .16) auto auto max(10px,var(--safe-left))!important;
  width:auto!important; min-width:56px!important; height:clamp(31px,8.5vw,42px)!important; min-height:0!important; margin:0!important; padding:0 8px!important; transform:none!important;
  display:flex!important; align-items:center; justify-content:center; color:var(--ink)!important; -webkit-text-fill-color:currentColor!important;
  border:2px double #d7dbef!important; border-radius:6px!important; box-shadow:inset 0 0 5px #a2b7d65c!important;
  background:linear-gradient(145deg,#10254a,#0a1735 65%,#182c4e)!important; font:600 clamp(14px,3.8vw,18px)/1 var(--serif)!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #screenToolbar #screenBack::before, html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #screenToolbar #screenBack::after,
html:root body[data-screen="elementalMercenary"] #top #screenToolbar #screenBack::before, html:root body[data-screen="elementalMercenary"] #top #screenToolbar #screenBack::after {content:none!important;}

html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList:not([hidden]) {
  position:absolute!important;inset:calc(var(--mast) + var(--safe-top)) 0 0!important;transform:none!important;box-sizing:border-box!important;
  width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;
  padding:0 max(4px,var(--safe-left)) max(10px,env(safe-area-inset-bottom)) max(4px,var(--safe-right))!important;
  border:0!important;box-shadow:none!important;background:transparent!important;overflow:auto!important;overscroll-behavior:contain;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important;align-items:stretch!important;
  justify-content:center!important;gap:clamp(8px,3.3vw,18px)!important;width:100%!important;max-width:615px!important;
  height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0 auto!important;overflow:visible!important;container-type:inline-size;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button.mercenary-profile-card, html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards .mercenary29-empty {
  position:relative!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:47% minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;
  width:100%!important;max-width:none!important;height:clamp(155px,min(54cqw,calc((100dvh - var(--mast) - var(--safe-top) - 25px)/2)),316px)!important;
  aspect-ratio:auto!important;min-height:0!important;max-height:none!important;align-items:stretch!important;gap:0!important;margin:0!important;
  padding:var(--rim)!important;border:0!important;border-radius:clamp(11px,3.2vw,20px)!important;isolation:isolate;overflow:hidden!important;
  background:linear-gradient(115deg,#16294b,#0a1430)!important;box-shadow:none!important;text-align:left!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button.mercenary-profile-card::after {
  content:""!important;position:absolute!important;inset:0!important;z-index:3!important;pointer-events:none!important;background:none!important;
  width:auto!important;height:auto!important;border:0 solid transparent!important;
  border-image:url('/merc-frame-261119.webp') 49 45 48 44 / calc(var(--rim) * 1.92) calc(var(--rim) * 1.7) stretch!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards .mercenary29-empty {background:#0f1932 url('/silver-empty188.webp') center/100% 100% no-repeat!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button.mercenary-profile-card > :is(img,.mercenary-portrait-placeholder) {
  display:block!important;grid-column:1!important;grid-row:1!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;max-width:none!important;
  object-fit:cover!important;object-position:center center!important;aspect-ratio:auto!important;align-self:stretch!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px 0 0 4px!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy {
  grid-column:2!important;grid-row:1!important;position:relative!important;display:grid!important;align-content:center!important;align-self:stretch!important;
  grid-template: auto auto auto auto auto / minmax(0,1fr)!important;gap:clamp(2px,1.05cqw,5px)!important;min-width:0!important;min-height:0!important;height:100%!important;width:100%!important;
  box-sizing:border-box!important;font-family:var(--serif)!important;padding:clamp(6px,2.4cqw,13px) clamp(5px,2.4cqw,15px)!important;
  overflow:hidden!important;background:linear-gradient(120deg,#13233e,#0c1934 72%,#101e3e)!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy::after {
  content:""!important;position:absolute!important;inset:auto 1% 2% auto!important;z-index:-1!important;pointer-events:none;
  width:27%!important;height:36%!important;background:url('/merc-wand-clear-261119.webp') right bottom/contain no-repeat!important;mix-blend-mode:lighten;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy header {display:contents!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy :is(strong,p,header span) {
  position:static!important;grid-column:1!important;margin:0!important;min-width:0!important;color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;
  text-shadow:0 1px 2px #081126!important;text-align:left!important;font-family:var(--serif)!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy strong {grid-row:1!important;display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:clamp(16px,5.3cqw,28px)!important;line-height:1.25!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy p {display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.3!important;font-size:clamp(12px,3.55cqw,18px)!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy p.mercenary-job {grid-row:2!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy p:not(.mercenary-job):not(.mercenary-bio) {grid-row:3!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy p.mercenary-bio {grid-row:4!important;-webkit-line-clamp:1;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy p:empty {display:none!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy small {display:none!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy header span {
  grid-row:5!important;justify-self:start!important;align-self:end!important;line-height:1.1!important;font-size:clamp(11px,3.55cqw,17px)!important;white-space:nowrap!important;
  padding:3px 8px!important;margin-top:clamp(3px,1.35cqw,8px)!important;border:1px solid #d7daea!important;border-radius:6px!important;background:#101d37!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button[data-open="true"] .mercenary-card-copy header span {color:#e4fff2!important;border-color:#a2d9c8!important;background:#184044!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary:not([hidden]) {
  position:absolute!important;inset:calc(var(--safe-top) + var(--mast) + var(--dock)) 0 0!important;transform:none!important;box-sizing:border-box!important;
  display:block!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;
  padding:0 max(var(--board-gutter),var(--safe-right),calc((100% - 650px)/2)) max(14px,env(safe-area-inset-bottom)) max(var(--board-gutter),var(--safe-left),calc((100% - 650px)/2))!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:var(--ink)!important;font-family:var(--serif)!important;
}
html:root body[data-screen="elementalMercenary"] #siteSwitchDock {
  position:fixed!important;inset:calc(var(--safe-top) + var(--mast)) max(10px,var(--safe-right)) auto auto!important;z-index:10002!important;
  display:flex!important;align-items:center!important;gap:6px!important;max-width:none!important;height:var(--dock)!important;padding:0!important;margin:0!important;transform:none!important;background:none!important;
}
html:root body[data-screen="elementalMercenary"] #siteSwitchDock :is(.language-toggle,#siteBgmSwitch) {
  box-sizing:border-box!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:57px!important;height:24px!important;min-height:0!important;
  padding:0 7px!important;border:1px solid #c9d6ee!important;border-radius:6px!important;color:#f3f6ff!important;-webkit-text-fill-color:currentColor!important;
  font:600 11px/1.15 var(--serif)!important;text-shadow:none!important;background:linear-gradient(130deg,#10294be8,#091837f7)!important;box-shadow:inset 0 0 3px #d1ddff40!important;
}
html:root body[data-screen="elementalMercenary"] #siteSwitchDock :is(.language-toggle,#siteBgmSwitch)::before, html:root body[data-screen="elementalMercenary"] #siteSwitchDock :is(.language-toggle,#siteBgmSwitch)::after {content:none!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile {display:block;margin:0 0 5px;padding:0;border:0;background:none;color:var(--ink);}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile summary {position:relative;display:flex;align-items:center;gap:clamp(9px,4.3vw,26px);min-height:clamp(62px,min(21vw,10.2dvh),102px);list-style:none;cursor:pointer;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile summary::-webkit-details-marker {display:none;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile summary::marker {content:"";}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .merc-profile-medallion {
  display:grid;place-items:center;flex:none;box-sizing:border-box;width:clamp(60px,min(21vw,10dvh),100px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(ellipse at 36% 22%,#b6d6ed,#465573 37%,#0d1938 73%);border:3px double #eef2ff;box-shadow:0 0 0 2px #7789aa,0 0 9px #b7d8ff64;
  overflow:hidden;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardPortrait:not([hidden]) {width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 45%;border-radius:50%;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile #mercenaryNamePlate {
  position:relative!important;display:block!important;flex:1!important;min-width:0!important;max-width:none!important;height:auto!important;
  margin:0!important;padding:0 0 clamp(7px,2.7vw,16px)!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;
  background:transparent!important;color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;text-shadow:0 2px 5px #051027!important;font:700 clamp(20px,6.4vw,34px)/1.2 var(--serif)!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile #mercenaryNamePlate::after {
  content:""!important;position:absolute!important;display:block!important;inset:auto 5% 0 0!important;height:1px!important;width:auto!important;opacity:1;
  background:linear-gradient(90deg,transparent,#bdcde9 14%,#bdcde9 64%,transparent)!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardBio {white-space:pre-line;font:14px/1.6 var(--serif);padding:8px 12px;color:var(--ink);background:#0a1734f0;border:1px solid #9fafce;border-radius:6px;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-top {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(6px,2vw,12px)!important;
  height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 clamp(7px,1.45dvh,12px)!important;padding:0!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-led, html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-venue {
  display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:5px!important;
  box-sizing:border-box!important;min-width:0!important;height:clamp(37px,5.0dvh,48px)!important;min-height:0!important;
  margin:0!important;padding:2px 4px!important;border:2px double #c4cce4!important;border-radius:8px!important;
  background:linear-gradient(135deg,#102443ed,#081634f5 65%,#152849f0)!important;box-shadow:inset 0 0 4px #a8bde437!important;
  color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;font:600 clamp(12px,3.7vw,18px)/1.1 var(--serif)!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-led #memberMercenaryState, html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .venue-display #memberVenueNumber {
  color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;white-space:nowrap!important;
  font:700 clamp(14px,4vw,20px)/1.12 var(--serif)!important;background:none!important;border:0!important;box-shadow:none!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberMercenaryState[data-open="true"] {color:#b6f7dc!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberMercenaryToggle:not([hidden]) {position:relative!important;flex:none!important;min-width:0!important;min-height:0!important;width:34px!important;height:21px!important;padding:0!important;
  border:1px solid #c6cde8!important;border-radius:20px!important;background:#3b4665!important;box-shadow:inset 0 0 3px #06122c!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberMercenaryToggle::before {content:""!important;position:absolute!important;inset:1px auto auto 1px!important;transform:none!important;
  width:16px!important;height:16px!important;border:1px solid #a9b2cd!important;border-radius:50%!important;background:linear-gradient(135deg,#fff,#9eabc8)!important;box-shadow:none!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberMercenaryToggle::after {content:none!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberMercenaryToggle[aria-checked="true"] {background:#2a7966!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberMercenaryToggle[aria-checked="true"]::before {left:14px!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .venue-display {position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  height:26px!important;width:auto!important;min-width:52px!important;box-sizing:border-box!important;margin:0!important;padding:0 4px!important;
  border:1px solid #c4cce4!important;border-radius:5px!important;background:#0a1935!important;box-shadow:none!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .venue-chevron {color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberVenue {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;opacity:0!important;appearance:auto!important;margin:0!important;padding:0!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberVenue option {background:#102145;color:white;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;grid-auto-rows:clamp(40px,4.9dvh,52px)!important;
  gap:clamp(4px,.6dvh,7px)!important;align-content:start!important;height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;
  overflow:visible!important;margin:0!important;padding:0!important;width:100%!important;background:none!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot {
  display:grid!important;grid-template-columns:clamp(29px,10vw,52px) minmax(0,1fr) max-content!important;align-items:center!important;gap:clamp(7px,3.3vw,18px)!important;
  width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;box-sizing:border-box!important;margin:0!important;padding:2px 9px 2px 5px!important;
  background:linear-gradient(108deg,#0c1b3de8,#102447eb 53%,#0a1736eb)!important;color:var(--ink)!important;border:1.5px solid #cbd3e7!important;border-radius:7px!important;box-shadow:inset 0 0 7px #a5bdea18!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot:disabled {opacity:.72;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot.is-current {border-color:#b9f3d7!important;background:linear-gradient(110deg,#173850,#123d43)!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot .queue-index, html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot strong, html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot .queue-state {
  color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;font-family:var(--serif)!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot .queue-index {
  box-sizing:border-box!important;width:100%!important;height:auto!important;margin:0!important;border:0!important;border-right:1px solid #7185ac!important;
  font-size:clamp(19px,5.7vw,28px)!important;line-height:1.3!important;text-align:center!important;background:none!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot strong {font-size:clamp(14px,4.2vw,20px)!important;line-height:1.25!important;text-align:left!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .queue-slot .queue-state {border:1px solid #8997b9!important;border-radius:6px!important;background:linear-gradient(130deg,#7484a6,#3e4e73)!important;
  padding:2px 5px!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue :is([data-queue-join],[data-queue-closed]) .queue-state {font:400 19px/1.08 system-ui!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue .is-current .queue-state {background:#285b59!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-comment {
  position:relative!important;isolation:isolate;box-sizing:border-box!important;min-height:clamp(82px,11.2dvh,125px)!important;
  height:auto!important;max-height:none!important;overflow:visible!important;margin:clamp(8px,1.5dvh,16px) 0 0!important;
  padding:clamp(12px,3.5vw,22px) clamp(20px,6.2vw,37px)!important;border:0!important;border-radius:14px!important;
  background:linear-gradient(110deg,#102445ef,#0c1b3bf5)!important;box-shadow:none!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-comment::before {content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;pointer-events:none!important;
  border:0 solid transparent!important;border-image:url('/merc-comment-261119.webp') 39 38 28 34 / 16px 15px 12px 14px stretch!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-comment::after {content:""!important;position:absolute;right:9px;bottom:8px;width:32px;height:42px;pointer-events:none;z-index:-1;background:url('/merc-wand-clear-261119.webp') center/contain no-repeat;mix-blend-mode:lighten;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardCommentTitle {
  padding:0 0 4px!important;margin:0 0 5px!important;border:0!important;border-bottom:1px solid #8b9ab555!important;
  color:var(--ink)!important;text-shadow:none!important;font:700 clamp(14px,4vw,20px)/1.3 var(--serif)!important;background:transparent!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-comment :is(form,p,textarea) {box-sizing:border-box!important;margin:0!important;color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;border:0!important;background:transparent!important;box-shadow:none!important;font:500 clamp(13px,3.8vw,18px)/1.45 var(--serif)!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-comment :is(p,textarea) {padding:0 10px 0 0!important;min-height:0!important;height:auto!important;max-height:none!important;white-space:pre-wrap!important;overflow-wrap:anywhere;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-comment textarea {height:2.9em!important;width:100%!important;resize:vertical!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueueAction:not(:empty) {position:relative!important;inset:auto!important;background:#122544!important;border:1px solid #b2bed9!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary :is(#memberMercenaryFeedback,#memberQueueHelp,#memberAdStatus):not(:empty) {color:#eef4ff!important;background:#101f3d!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary :is(#memberMercenaryFeedback,#memberQueueHelp,#memberAdStatus):empty {display:none!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary :is(button,summary,textarea):focus-visible, html:root body[data-screen="elementalMercenary"] #screenBack:focus-visible, html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList button:focus-visible, html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .venue-display:focus-within {outline:2px solid #b5deff!important;outline-offset:-3px!important;}
@media(max-height:680px) {
  html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] {--mast:clamp(64px,20vw,82px);}
  html:root body[data-screen="elementalMercenary"] {--mast:52px;--dock:26px;}
  html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile summary {min-height:50px;}
  html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .merc-profile-medallion {width:50px;}
  html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #memberQueue {grid-auto-rows:38px!important;gap:4px!important;}
}
@media(max-width:345px) {
  html:root body[data-screen="elementalMercenary"] #top #screenToolbar:not([hidden]) #mercBoardHeading {font-size:21px!important;}
  html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-top {gap:4px!important;}
}

/* Remove legacy summary and selector skins on the reception board. */
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile summary {
  box-sizing:border-box!important;width:100%!important;height:auto!important;inset:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
  color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile summary::before, html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile summary::after {content:none!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile .merc-profile-medallion {
  position:relative;isolation:isolate;overflow:visible;border:0;box-shadow:none;background:none;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile .merc-profile-medallion::before {
  content:"";position:absolute;inset:10% 12% 12%;border-radius:50%;background:radial-gradient(circle at 35% 24%,#51749a,#132446);
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile #mercBoardPortrait:not([hidden]) {position:absolute;inset:9% 11% 12%;width:78%;height:79%;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary #mercBoardProfile .merc-profile-medallion::after {
  content:"";position:absolute;inset:0;pointer-events:none;background:url('/merc-avatar-rim-261119.webp') center/100% 100% no-repeat;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-top .mercenary-led #memberMercenaryToggle:not([hidden])::before {display:block!important;right:auto!important;bottom:auto!important;}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-top .mercenary-venue .venue-display {
  display:inline-flex!important;color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;background:#0c1c3e!important;
  height:27px!important;border:1px solid #c6d2e8!important;min-width:54px!important;padding:0 13px 0 4px!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-top label.mercenary-venue .venue-display #memberVenueNumber[data-open] {
  position:static!important;display:block!important;height:auto!important;width:auto!important;margin:0!important;padding:0!important;
  background:transparent!important;color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;
  font:700 clamp(14px,4vw,20px)/1.12 var(--serif)!important;
}
html:root body[data-screen="elementalMercenary"] #top #elementalMercenary .mercenary-top label.mercenary-venue .venue-display .venue-chevron {
  display:block!important;position:absolute!important;inset:50% 3px auto auto!important;transform:translateY(-55%)!important;
  color:var(--ink)!important;-webkit-text-fill-color:currentColor!important;
}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy header span {position:relative!important;margin-top:clamp(6px,2.4cqw,13px)!important;}
html:root body.elemental-fullpage[data-screen="elementalMercenaryList"] #top #elementalMercenaryList #mercenaryCards button .mercenary-card-copy header span::before {
  content:""!important;display:block!important;position:absolute!important;inset:-6px auto auto 0!important;width:145%!important;height:1px!important;
  background:linear-gradient(90deg,#c2cce7 0%,#7788ab 63%,transparent)!important;pointer-events:none!important;
}
@media(min-aspect-ratio:1/1) {
  html:root body[data-screen="elementalMercenary"] #top {background-size:cover!important;}
}

html:lang(ja) body[data-screen="elementalMercenary"] #siteSwitchDock .language-toggle > span {font-size:0!important;}
html:lang(ja) body[data-screen="elementalMercenary"] #siteSwitchDock .language-toggle > span::after {content:"日本語 ▾";font:600 11px/1.15 "Yu Mincho",serif;}
