.boss-notice-test{
  position:fixed;z-index:1399;left:max(20px,env(safe-area-inset-left));bottom:max(78px,env(safe-area-inset-bottom));
  width:76px;height:76px;min-height:0;padding:0;border:0;border-radius:50%;
  background:transparent;box-shadow:none;cursor:pointer;transition:transform .18s ease,filter .18s ease
}
.boss-notice-test:hover{background:transparent;box-shadow:none;filter:brightness(1.12);transform:scale(1.10)}
.boss-notice-test:focus-visible{outline:2px solid #ffdb90;outline-offset:3px}
.boss-notice-medallion{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.boss-notice-medallion-label{
  position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;
  font:700 13px Georgia,serif;text-anchor:middle;
  fill:#ffe3a1;stroke:#2b1508;stroke-width:1.4px;stroke-linejoin:round;paint-order:stroke fill
}
.boss-notice-medallion-label-lower{font-size:11.5px;letter-spacing:1.2px}
.boss-notice-test-gem{
  --gem-halo:color-mix(in srgb,var(--gem-color) 65%,transparent);
  position:absolute;left:var(--gem-x);top:var(--gem-y);width:14.2%;height:14.2%;
  transform:translate(-50%,-50%);filter:drop-shadow(0 1.5px 1px #160b05d9);pointer-events:none
}
.boss-notice-test-gem:nth-child(2){width:23%;height:23%}
.boss-notice-test-gem img{
  position:absolute;left:50%;top:50%;width:153%;height:118%;translate:-50% -50%;display:block;object-fit:contain;
  filter:drop-shadow(0 0 1.5px var(--gem-halo));
  animation:boss-gem-shine 6.3s linear calc(var(--gem-index)*.7s) infinite
}
.boss-notice-test-gem::after{
  content:"";position:absolute;inset:4%;opacity:0;
  background:radial-gradient(circle,#fff 0 8%,#fffac6 12%,transparent 36%),
    linear-gradient(0deg,transparent 45%,#fff8c9 49% 51%,transparent 55%),
    linear-gradient(90deg,transparent 45%,#fff8c9 49% 51%,transparent 55%);
  animation:boss-gem-star 6.3s linear calc(var(--gem-index)*.7s) infinite
}
@keyframes boss-gem-shine{
  0%,9%,100%{filter:brightness(1) drop-shadow(0 0 1.5px var(--gem-halo))}
  4%{filter:brightness(1.8) drop-shadow(0 0 2.5px var(--gem-color))}
}
@keyframes boss-gem-star{0%,9%,100%{opacity:0;transform:scale(.45)}4%{opacity:1;transform:scale(1)}}
.boss-notice{
  position:fixed;z-index:1400;left:max(0px,env(safe-area-inset-left));bottom:max(0px,env(safe-area-inset-bottom));
  width:min(760px,100vw);height:390px;isolation:isolate;pointer-events:none;font-family:Georgia,serif;
  padding:0;border:0;background:transparent;box-shadow:none
}
.boss-notice-lineup{
  position:absolute;bottom:49px;left:118px;width:min(500px,calc(100% - 118px));
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));z-index:1
}
.boss-notice-portrait{
  position:relative;top:var(--ridge-offset,0px);height:210px;min-width:0;text-align:center;isolation:isolate;
  animation:boss-notice-rise .95s cubic-bezier(.16,.66,.28,1) calc(.52s + .14s * var(--order)) both
}
.boss-notice-portrait:nth-child(1){--ridge-offset:-24px}
.boss-notice-portrait:nth-child(2){--ridge-offset:-59px}
.boss-notice-portrait:nth-child(3){--ridge-offset:-32px}
.boss-notice-portrait:nth-child(4){--ridge-offset:-25px}
.boss-notice-portrait:nth-child(5){--ridge-offset:-16px}
.boss-notice-portrait:nth-child(6){--ridge-offset:6px}
.boss-notice-portrait canvas,.boss-notice-portrait::before{transition:opacity 1.12s ease}
.boss-notice-portrait canvas{
  position:absolute;inset:7px -27% 3px;width:154%;height:92%;opacity:1;mix-blend-mode:screen
}
.boss-notice-portrait::before{
  content:"";position:absolute;inset:17px -16px 16px;opacity:.72;
  background:radial-gradient(ellipse at 50% 55%,color-mix(in srgb,var(--tint),transparent 33%),transparent 67%)
}
.boss-notice-portrait img{
  position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:205%;height:112%;object-fit:contain;
  filter:grayscale(0) brightness(1.17) drop-shadow(0 0 9px color-mix(in srgb,var(--tint) 46%,transparent)) drop-shadow(3px 3px 3px #091015db);
  transition:filter 1.12s ease
}
.boss-notice-portrait.is-fallen canvas,.boss-notice-portrait.is-fallen::before{opacity:0}
.boss-notice-portrait.is-fallen img{
  filter:grayscale(1) brightness(.77) drop-shadow(0 0 9px transparent) drop-shadow(3px 3px 3px #091015db)
}
.boss-notice-name{
  position:absolute;top:0;left:50%;transform:translateX(-50%);width:106%;min-height:2.5em;display:grid;align-items:center;
  color:#fae9c8;font-size:13px;line-height:1.08;text-shadow:0 1px 2px #0b0c10,0 0 5px #0a0b0e,1px 0 2px #000,-1px 0 2px #000
}
.boss-notice-timer{
  position:absolute;z-index:4;bottom:126px;left:159px;transform:translateX(-50%);padding:5px 7px 6px;display:grid;gap:3px;width:max-content;
  border:1px solid #737b85b0;background:#111921ed;box-shadow:0 3px 10px #080b10c2;color:#ebeef3
}
.boss-notice-timer small{color:#c4ccd7;font-size:10px}
.boss-notice-timer time{font:700 19px/1 Georgia,serif;font-variant-numeric:tabular-nums;letter-spacing:.07em}
.boss-notice-mountain{
  position:absolute;left:-3px;bottom:0;width:min(748px,100%);aspect-ratio:3.55;z-index:3;animation:boss-notice-mountain .85s ease-out both
}
.boss-notice-mountain img{width:100%;height:100%;object-fit:fill;display:block}
.boss-notice-title{
  position:absolute;left:50%;top:70.6%;transform:translate(-50%,calc(-50% - .08em));color:#482916;
  font-size:clamp(16px,3.8vw,42px);font-weight:700;font-variant:small-caps;letter-spacing:.025em;line-height:1;white-space:nowrap;
  text-shadow:0 1px 0 #feebafbd,0 -1px 0 #331b1ba0
}
.boss-notice-header{
  position:absolute;left:114px;right:8px;top:16px;z-index:5;display:flex;align-items:center;gap:8px
}
.boss-notice-message{
  margin:0;padding:6px 11px;border-left:2px solid #8eb6d5;
  background:linear-gradient(90deg,#141c26eb,#18222dcb);color:#e8f4ff;font-size:14px;box-shadow:2px 3px 16px #070e17a8
}
.boss-notice-message,.boss-notice-timer{visibility:hidden;opacity:0;transition:opacity .65s ease .25s}
.boss-notice.is-announced :is(.boss-notice-message,.boss-notice-timer){visibility:visible;opacity:1}
.boss-notice-close{
  display:grid;place-items:center;flex:0 0 28px;padding:0;margin:0;box-sizing:border-box;
  pointer-events:auto;cursor:pointer;width:28px;height:28px;border:1px solid #807355;
  background:#171c22;color:#ffe5b3;font:18px/1 Georgia,serif
}
@keyframes boss-notice-mountain{from{transform:translate(-26px,220px)}}
@keyframes boss-notice-rise{from{opacity:0;transform:translateY(158px)}to{opacity:1;transform:none}}
@media(max-width:640px){
  .boss-notice{height:300px}
  .boss-notice-lineup{bottom:6.5vw;left:16%;width:68%}
  .boss-notice-portrait{height:150px;top:calc(var(--ridge-offset,0px)*.58)}
  .boss-notice-name{font-size:10px}
  .boss-notice-portrait img{height:105%}
  .boss-notice-timer{bottom:17vw;left:22%;padding:4px}
  .boss-notice-timer time{font-size:12px}
  .boss-notice-timer small{font-size:8px}
  .boss-notice-header{top:52px;left:8px}
  .boss-notice-message{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .boss-notice-test{transition:none}
  .boss-notice,.boss-notice *,.boss-notice-portrait::before{animation:none!important;transition:none!important}
  .boss-notice-test-gem img,.boss-notice-test-gem::after{animation:none}
}
