body {
            margin: 0;
            padding: 0;
            background-color: black;
            color: white;
            font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .container {
            max-width: 800px;
            width: 100%;
            padding: 20px;
            box-sizing: border-box;
            text-align: center;
        }
        .logo {
            max-width: 100%;
            width: 1000px;
            height: auto;
            display: block;
            margin: 20px auto;
        }
        img {
            max-width: 1000px;
            width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        a {
            color: #00ffff;
            text-decoration: underline;
        }
        h1 {
            font-size: 2.5rem;
            font-weight: bold;
            color: #fff;
            text-align: center;
            margin-bottom: 20px;
        }
        h2, h3, p, a {
            text-align: left;
        }
        h2 {
            font-size: 2rem;
            font-weight: bold;
            border-bottom: 3px solid #ff0000;
            padding-bottom: 5px;
            padding-top: 20px;
            margin-bottom: 15px;
        }
        h3 {
            font-size: 1.5rem;
            font-weight: bold;
            color: #ff0000;
            margin-bottom: 10px;
        }
        p {
            font-size: 1.2rem;
        }
        @media (max-width: 600px) {
            .logo {
                width: 90%;
                max-width: 300px;
            }
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.75rem;
            }
            h3 {
                font-size: 1.25rem;
            }
            p {
                font-size: 1rem;
            }
        }
        .text-box {
            border: 2px dotted #aaa;
            padding: 10px;
            margin: 10px 0;
            text-align: left;
            display: block;
            max-width: 100%;
            width: 100%;
            box-sizing: border-box;
        }
        .styled-list {
            list-style: none;
            padding: 0;
            text-align: left;
        }
        .styled-list li {
            background: #222;
            margin: 8px 0;
            padding: 10px 15px;
            border-radius: 5px;
            display: flex;
            align-items: center;
        }
        .styled-list li::before {
            content: "✔";
            color: #ff0000;
            font-weight: bold;
            margin-right: 10px;
        }
        .icon-text::before {
        content: "🔥";
        font-size: 1.5em;
        margin-right: 2px;
        }
        .icon-memo::before {
        content: "📝";
        font-size: 1.5em;
        margin-right: 2px;
        }
        .icon-skull::before {
        content: "💀";
        font-size: 1.5em;
        margin-right: 2px;
        }
        .icon-trophy::before {
        content: "🏆";
        font-size: 1.5em;
        margin-right: 2px;
        }
        .highlight-box {
            background: #222;
            color: white;
            padding: 10px 15px;
            margin: 8px 0;
            border-radius: 5px;
            display: flex;
            align-items: center;
        }
        .highlight-box::before {
            content: "🚀";
            color: #ff0000;
            font-weight: bold;
            margin-right: 10px;
        }
        .counter-box {
            background: #222;
            color: white;
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
            text-align: center;
            font-size: 1.0rem;
        }
        #visitorCount {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.0rem;
            color: #00ff00;
        }
        .simple-list {
            list-style-type: disc;
            padding-left: 20px;
            text-align: left;
        }
        .simple-list li {
            margin-bottom: 5px;
        }
        .footer {
            text-align: center;
            font-size: 0.9rem;
            color: #777;
            padding: 10px 0;
            width: 100%;
        }
        .top-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #ff0000;
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-size: 0.9rem;
        }
        .top-button:hover {
            background: #ff0000;
        }
        a:hover {
            color: #d3d3d3;
        }
        .wide-line {
        border: none;
        height: 4px;
        background-color: white;
        width: 90%;
        margin: 30px auto;
        }
        .rounded-box {
            background: #222;
            padding: 20px;
            border-radius: 15px;
            border: 2px solid #555;
            margin: 20px 0;
            max-width: 800px;
            text-align: left;
        }
        .checklist {
            list-style: none;
            padding: 0;
        }
        .checklist li {
            display: flex;
            align-items: center;
            font-size: 1.2rem;
            margin-bottom: 8px;
        }
        .checklist li::before {
            content: "✔";
            color: #00ff00;
            font-weight: bold;
            margin-right: 10px;
        }
        

.counter {
  display: inline-flex;
  gap: .25rem;
  padding: .3rem .45rem;
  border: 1px solid #222;
  border-radius: 10px;
  background: #0a0a0a; 
  box-shadow: inset 0 0 0 1px #0f0f0f;
}

.counter .digit {
  display: inline-block;
  min-width: 1ch;
  text-align: center;

  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  font-family: 'Share Tech Mono', monospace;  /* ← ここだけ変わった */

  color: #e5e7eb;
  background: #111;
  border-radius: 6px;
  padding: .10rem .16rem;
  border: 1px solid #1a1a1a;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}


.counter .digit { outline: 1px solid rgba(56,189,248,.15); }


.counter.is-compact .digit {
  font-size: .95rem;
  padding: .06rem .12rem;
  border-radius: 5px;
}


.counter.is-ghost {
  background: transparent;
  border-color: #222;
  box-shadow: none;
}
.counter.is-ghost .digit {
  background: transparent;
  border-color: #252525;
  color: #cbd5e1;   
  outline: none;
}
        
        .goal { margin-bottom: 1.2rem; }
.goal .title { font-weight: 700; margin: 0; }
.sub {
  margin: .2rem 0 0 1rem;
  font-size: .9rem;
  color: #9ca3af;
}

.icon-skull::before {
  content: "💀";   /* ネクロマンサー */
}

.icon-bear::before {
  content: "🐻";   /* ドルイド */
}

.icon-flame::before {
  content: "🔥";   /* ソーサレス */
}

.icon-sword::before {
  content: "🗡";   /* バーバリアン */
}

.icon-bow::before {
  content: "🏹";   /* アマゾン */
}

.icon-cross::before {
  content: "✝";   /* パラディン */
}

.icon-ninja::before {
  content: "🥷";   /* アサシン */
}

/* 共通デザイン */
[class^="icon-"]::before {
  font-size: 1.5rem;
  margin-right: 2px;
}
        
.icon-done::before {
  content: "✅";
  color: #00ff00;
}

.icon-todo::before {
  content: "✗";
  font-size: 1.5rem;
  margin-right: 8px;
  color: #ff3333;
}

.icon-todo::before {
  content: "✗" !important;
  color: #ff3333 !important;
}
        
.checklist {
  list-style: none;
  padding: 15px 20px;
  margin: 15px 0;
  border: 2px solid #555; 
  border-radius: 10px;
  background: #111; 
}
        
.profile-icon {
  float: left;
  width: 64px;
  height: 64px;
  margin: 0 12px 8px 0;
  border-radius: 10px;
  overflow: hidden;
}

.profile-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}
        
.hell-title {
  font-size: 3rem;
  color: #ff0000;
  text-align: center;
  font-weight: bold;
  text-shadow:
    0 0 5px #ff0000,
    0 0 10px #ff3300,
    0 0 20px #ff6600;
  animation: burn 2s infinite alternate; 
}

@keyframes burn {
  0% {
    text-shadow:
      0 0 5px #ff0000,
      0 0 10px #ff3300,
      0 0 20px #ff6600;
  }
  100% {
    text-shadow:
      0 0 10px #ff3300,
      0 0 20px #ff6600,
      0 0 40px #ff9900,
      0 0 80px #ffff00;
  }
}

.hell-title.flash {
  animation: flash 0.8s ease-out;
}

@keyframes flash {
  0%, 20%, 40% {
    color: #fff;
    text-shadow: 0 0 20px #fff, 0 0 40px #ff0, 0 0 80px #f00;
  }
  10%, 30% {
    color: #ff3300;
    text-shadow: 0 0 10px #ff3300, 0 0 20px #ff6600;
  }
  50%, 100% {
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000, 0 0 15px #ff3300, 0 0 30px #ff6600;
  }
}


.bg-layer{
  position: fixed;
  inset: 0;
  z-index: -1;  
  pointer-events: none;  
  background-color: #000;
  background-repeat: repeat;
  background-attachment: fixed;
}

.bg-hex{
  background-image:
    repeating-linear-gradient(
      60deg,
      rgba(120,0,0,0.45) 0px,
      rgba(120,0,0,0.45) 2px,
      transparent 2px,
      transparent 60px
    ),
    repeating-linear-gradient(
      -60deg,
      rgba(120,0,0,0.45) 0px,
      rgba(120,0,0,0.45) 2px,
      transparent 2px,
      transparent 60px
    );
  background-size: 60px 104px;
}


.bg-marble {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(120,0,0,0.17) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(180,0,0,0.17) 0%, transparent 60%),
    radial-gradient(circle at 40% 80%, rgba(220,0,0,0.20) 0%, transparent 60%);
  background-size: 800px auto; 
  background-repeat: repeat-x no-repeat;
}
        

.link-banner{
  width: 88px !important;
  height: 31px !important;
  max-width: none !important;
  display: inline-block;
  image-rendering: pixelated;   
  image-rendering: crisp-edges; 
  margin: 6px 0;
}   
        

a.has-new::after{
  content: " NEW!";
  display: inline-block;
  margin-left: .5em;
  padding: .12rem .4rem;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #ff0000;
  border-radius: .5rem;
  border: 1px solid #aa0000;
  animation: new-blink 1s steps(2, start) infinite;
  text-shadow: 0 0 6px rgba(255, 80, 0, .6);
}
@keyframes new-blink { 50% { opacity: .2; } }

@media (prefers-reduced-motion: reduce){
  a.has-new::after{ animation: none; }
}
        
        .simple-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}


.img-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));  /* PCなど広い画面 → 2列 */
  gap: 10px;
  margin: 20px 0;
}

.img-grid img {
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 600px) {
  .img-grid {
    grid-template-columns: 1fr;  
  }
}
        


.goal-panel {
  margin-bottom: 16px;
}

.goal-toggle {
  width: 100%;
  border: none;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.goal-toggle:hover {
  background: #252525;
}

.goal-toggle-title {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.goal-toggle-icon {
  font-size: .9rem;
  transition: transform .2s ease;
}

.goal-body {
  margin-top: 8px;
}

.goal-panel.is-collapsed .goal-body {
  display: none;
}

.goal-panel.is-collapsed .goal-toggle-icon {
  transform: rotate(-90deg);
}
        
.logbox{
  margin: 20px auto;
  max-width: 900px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 14px 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.logbox h2{
  margin: 0 0 6px;
  font-size: 16px;
}

.loghint{
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.logcount{
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.loglist{
  list-style: none;
  padding: 0;
  margin: 0;
}

.logitem{
  display: block;
  padding: 14px 10px;
}

.logmeta{
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.logtext{
  font-size: 15px;
  line-height: 1.7;
}


.badge{
  display: inline-block;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  margin-right: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
}

.badge-new{
  background: rgba(255, 60, 60, 0.18);
  border-color: rgba(255, 80, 80, 0.35);
}

.badge-drop{ background: rgba(255,255,255,0.10); }
.badge-rw{ background: rgba(0,180,255,0.16); border-color: rgba(0,180,255,0.35); }
.badge-death{ background: rgba(255,0,100,0.14); border-color: rgba(255,0,100,0.35); }
.badge-progress{ background: rgba(0,255,120,0.12); border-color: rgba(0,255,120,0.35); }

.logmore{
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.9;
}
.logmore a{
  color: #ffd0d0;
  text-decoration: none;
}
.logmore a:hover{
  text-decoration: underline;
}
        
.albumbox{
  margin: 20px auto;
  max-width: 900px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.albumbox h2{
  margin: 0 0 6px;
  font-size: 16px;
}

.albumhint{
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.albumcount{
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.albumgrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 860px){
  .albumgrid{ grid-template-columns: repeat(2, 1fr); }
}

.albumcard{
  display: block;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.06s ease;
}

.albumcard:hover{
  transform: translateY(-2px);
}

.albumthumb{
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,0.06);
}

.albumthumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.albuminfo{
  padding: 8px 8px 10px;
}

.albumname{
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
}

.albummini{
  font-size: 11px;
  opacity: 0.75;
  line-height: 1.25;
}

.albumbadges{
  margin-bottom: 6px;
}

.albumbadge{
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  margin-right: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
}

.albumbadge-new{
  background: rgba(255, 60, 60, 0.18);
  border-color: rgba(255, 80, 80, 0.35);
}

.albumbadge-unique{
  background: rgba(255,255,255,0.10);
}

.albumbadge-rw{
  background: rgba(0,180,255,0.16);
  border-color: rgba(0,180,255,0.35);
}

.albumempty{
  font-size: 12px;
  opacity: 0.8;
  padding: 8px 0;
}
        
.goal-table{
  width: 100%;
  border-collapse: collapse;
  background: #111;
  border: 2px solid #555;
  border-radius: 12px;
  overflow: hidden;
  margin: 14px 0;
}

.goal-table th,
.goal-table td{
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 10px 10px;
  text-align: left;
  font-size: 0.95rem;
}

.goal-table th{
  background: #1a1a1a;
  font-weight: 800;
}

.goal-chip{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
}

.ok{
  color: #00ff00;
  font-weight: 800;
}
.ng{
  color: #ff3333;
  font-weight: 800;
}

@media (max-width: 600px){
  .goal-table th,
  .goal-table td{
    font-size: 0.85rem;
    padding: 8px 8px;
  }
}

.ssf-meta{
  margin: 8px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  font-size: 0.95rem;
}

.ssf-meta .row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.ssf-meta .label{
  opacity: 0.85;
  font-size: 0.85rem;
}

.ssf-meta .value{
  font-weight: 800;
}

.ssf-bar{
  margin-top: 10px;
}

.ssf-bar-track{
  position: relative;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  overflow: hidden;
}

.ssf-bar-fill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(0,255,180,0.8), rgba(0,180,255,0.8));
}

.ssf-bar-text{
  margin-top: 6px;
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ssf-new-badge{
  display: inline-block;
  margin-left: .5rem;
  padding: .14rem .45rem;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  background: #ff0000;
  border-radius: 999px;
  border: 1px solid #aa0000;
  animation: ssf-new-blink 1s steps(2, start) infinite;
  text-shadow: 0 0 8px rgba(255, 80, 0, .75);
}

@keyframes ssf-new-blink{
  50% { opacity: .25; }
}

.ssf-meta.is-fresh{
  box-shadow:
    0 0 0 1px rgba(255, 0, 0, 0.15),
    0 0 18px rgba(255, 0, 0, 0.25),
    inset 0 0 18px rgba(255, 80, 0, 0.10);
  border-color: rgba(255, 80, 80, 0.45);
}

@media (prefers-reduced-motion: reduce){
  .ssf-new-badge{ animation: none; }
}

/* 大風呂敷：キャラ状態バッジ */
.char-badge{
  display:inline-block;
  margin-left:.45rem;
  padding:.12rem .45rem;
  font-size:.75rem;
  font-weight:900;
  line-height:1;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.char-badge.train{
  background: rgba(0,255,120,.12);
  border-color: rgba(0,255,120,.35);
}

.char-badge.challenge{
  background: rgba(255,170,0,.12);
  border-color: rgba(255,170,0,.35);
}

.char-badge.dead{
  background: rgba(255,0,100,.12);
  border-color: rgba(255,0,100,.35);
}

/* 達成セル：控えめ発光 */
.goal-done{
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(0,255,180,0.25);
  background: rgba(0,255,180,0.08);
  box-shadow: 0 0 14px rgba(0,255,180,0.18);
}

        
.hc-summary{
  margin: 8px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  font-size: 0.95rem;
}

.hc-summary .row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}

.hc-summary .label{
  opacity:.85;
  font-size:.85rem;
}

.hc-summary .value{
  font-weight:900;
}

.hc-dead{
  color: #ff4a4a;
  text-shadow: 0 0 10px rgba(255,0,0,.35);
}

.last-update{
  margin: 6px 0 18px;
  font-size: 0.95rem;
  opacity: 0.85;
  text-align: center;
}
.last-update strong{
  color: #ff6666;
}

.char-lv{
  display:inline-block;
  margin-left:.45rem;
  padding:.12rem .45rem;
  font-size:.75rem;
  font-weight:900;
  line-height:1;
  border-radius:999px;
  border:1px solid rgba(120,180,255,.35);
  background: rgba(120,180,255,.10);
  opacity:.95;
}

@media (max-width: 600px){
  .logitem{
    display: block;    
  }

  .logmeta{
    white-space: normal;   
    margin-bottom: 6px;    
    opacity: 0.85;
  }
}

.copyright-notice{
  width: 100%;
  max-width: 800px;
  margin: 18px auto 8px;
  padding: 12px 14px;
  box-sizing: border-box;

  text-align: center;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.6;

  color: #fff;
  background: rgba(255,0,0,0.12);
  border: 2px solid rgba(255,80,80,0.65);
  border-radius: 14px;

  box-shadow:
    0 0 0 1px rgba(255,0,0,0.15),
    0 0 18px rgba(255,0,0,0.22);
}

.char-badge.ssf{
  background: rgba(255, 200, 80, .20);
  border-color: rgba(255, 200, 80, .55);
  color: #ffe0a6;
}

.char-badge.eth{
  background: rgba(180, 120, 255, .16);
  border-color: rgba(180, 120, 255, .42);
  color: #d9b8ff;
}

.char-badge.perfect{
  background: rgba(255, 120, 120, .16);
  border-color: rgba(255, 120, 120, .42);
  color: #ffb3b3;
}

/* 見出し用：アイコンだけ発光させる */
.mode-icon{
  display: inline-block;
  margin-right: .25rem;
  transform: translateY(1px);
  /* 絵文字は text-shadow が効きにくい環境があるので drop-shadow 併用が安定 */
  filter: drop-shadow(0 0 4px rgba(255, 160, 0, .35));
}

/* SSF：控えめに熱い */
.mode-icon.ssf{
  filter:
    drop-shadow(0 0 2px rgba(255, 120, 0, .35))
    drop-shadow(0 0 8px rgba(255, 80, 0, .25));
}

/* ETH：紫の神秘オーラ */
.mode-icon.eth{
  filter:
    drop-shadow(0 0 3px rgba(200, 140, 255, .45))
    drop-shadow(0 0 10px rgba(160, 80, 255, .35))
    drop-shadow(0 0 18px rgba(120, 0, 255, .20));
  animation: iconPulseEth 1.8s ease-in-out infinite;
}

/* PERFECT：赤白の眩しさ */
.mode-icon.perfect{
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, .35))
    drop-shadow(0 0 10px rgba(255, 80, 80, .40))
    drop-shadow(0 0 18px rgba(255, 0, 0, .22));
  animation: iconPulsePerfect 1.4s ease-in-out infinite;
}

@keyframes iconPulseEth{
  0%, 100% { transform: translateY(1px) scale(1.0); }
  50%      { transform: translateY(1px) scale(1.06); }
}

@keyframes iconPulsePerfect{
  0%, 100% { transform: translateY(1px) scale(1.0); }
  50%      { transform: translateY(1px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce){
  .mode-icon.eth,
  .mode-icon.perfect{ animation: none; }
}

/* ===== ETH 強化：魔導揺らぎ ===== */
.mode-icon.eth{
  filter:
    drop-shadow(0 0 3px rgba(210, 160, 255, .55))
    drop-shadow(0 0 10px rgba(160, 80, 255, .42))
    drop-shadow(0 0 22px rgba(120, 0, 255, .26))
    drop-shadow(0 0 38px rgba(80, 0, 255, .14));
  animation: ethWobble 2.2s ease-in-out infinite;
}

/* ゆらゆら＆魔力の鼓動 */
@keyframes ethWobble{
  0%{
    transform: translateY(1px) translateX(0px) rotate(-2deg) scale(1.00);
    opacity: .90;
  }
  20%{
    transform: translateY(0px) translateX(1px) rotate(1deg) scale(1.06);
    opacity: 1;
  }
  50%{
    transform: translateY(1px) translateX(-1px) rotate(2deg) scale(1.02);
    opacity: .92;
  }
  80%{
    transform: translateY(0px) translateX(1px) rotate(-1deg) scale(1.07);
    opacity: 1;
  }
  100%{
    transform: translateY(1px) translateX(0px) rotate(-2deg) scale(1.00);
    opacity: .90;
  }
}

/* ===== PERFECT 強化：神々しいフラッシュ ===== */
.mode-icon.perfect{
  filter:
    drop-shadow(0 0 5px rgba(255,255,255,.55))
    drop-shadow(0 0 14px rgba(255,120,120,.45))
    drop-shadow(0 0 28px rgba(255, 60, 60, .28))
    drop-shadow(0 0 44px rgba(255, 0, 0, .18));
  animation: perfectHolyBlink 1.3s ease-in-out infinite;
}

/* たまに「白く閃光」→神々しい */
@keyframes perfectHolyBlink{
  0%{
    transform: translateY(1px) scale(1.00);
    opacity: .92;
  }
  35%{
    transform: translateY(1px) scale(1.06);
    opacity: 1;
  }
  55%{
    transform: translateY(0px) scale(1.12);
    opacity: 1;
    filter:
      drop-shadow(0 0 10px rgba(255,255,255,.75))
      drop-shadow(0 0 22px rgba(255,255,255,.55))
      drop-shadow(0 0 28px rgba(255, 90, 90, .35));
  }
  70%{
    transform: translateY(1px) scale(1.06);
    opacity: 1;
  }
  100%{
    transform: translateY(1px) scale(1.00);
    opacity: .92;
  }
}

/* ===== SSFもちゃんと発光させる（控えめ炎＆冷たい骨） ===== */
.mode-icon.ssf{
  filter:
    drop-shadow(0 0 4px rgba(255, 160, 0, .45))
    drop-shadow(0 0 12px rgba(255, 80, 0, .30))
    drop-shadow(0 0 22px rgba(255, 200, 0, .18));
  animation: ssfFlicker 2.4s ease-in-out infinite;
}

/* SSFは派手すぎない自然な揺らぎ */
@keyframes ssfFlicker{
  0%   { transform: translateY(1px) scale(1.00); opacity: .90; }
  50%  { transform: translateY(0px) scale(1.04); opacity: 1; }
  100% { transform: translateY(1px) scale(1.00); opacity: .90; }
}

/* ===== 更新ボックス：棺桶アイコン付き ===== */
.updatebox{
  margin: 6px 0 18px;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.92;

  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;

  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.14);

  box-shadow:
    0 0 0 1px rgba(255, 0, 0, 0.08),
    0 0 16px rgba(255, 0, 0, 0.10);
}

.update-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  line-height: 1.55;
}

/* 棺桶アイコン：ほんのり発光 */
.update-icon{
  display: inline-block;
  transform: translateY(1px);
  filter:
    drop-shadow(0 0 3px rgba(255, 80, 80, .25))
    drop-shadow(0 0 10px rgba(255, 0, 0, .12));
  animation: coffinGlow 2.6s ease-in-out infinite;
}

/* ほのかに脈動（派手すぎない） */
@keyframes coffinGlow{
  0%, 100%{
    opacity: .75;
    transform: translateY(1px) scale(1.00);
  }
  50%{
    opacity: 1;
    transform: translateY(0px) scale(1.06);
  }
}

/* 動き嫌い設定の人向け（優しい地獄） */
@media (prefers-reduced-motion: reduce){
  .update-icon{ animation: none; }
}

.hc-summary-min .row{
  justify-content: center;
}

.hc-deadline{
  display:flex;
  align-items:center;
  gap:.45rem;
}

.grave-icon{
  display:inline-block;
  transform: translateY(1px);
  filter:
    drop-shadow(0 0 3px rgba(140, 255, 180, .22))
    drop-shadow(0 0 12px rgba(140, 255, 180, .12));
  animation: graveGlow 2.8s ease-in-out infinite;
}

@keyframes graveGlow{
  0%,100%{ opacity:.75; transform: translateY(1px) scale(1.00); }
  50%{ opacity:1; transform: translateY(0px) scale(1.06); }
}

@media (prefers-reduced-motion: reduce){
  .grave-icon{ animation: none; }
}

/* ===== 大風呂敷：表の改行崩れ対策（種別＆クラス） ===== */

/* ① 種別（OFF / SC）を改行させない */
.goal-chip{
  white-space: nowrap;
}

/* ② クラス列（2列目）を広げて、改行させない */
.goal-table th:nth-child(2),
.goal-table td:nth-child(2){
  width: 220px;
  white-space: nowrap;
}

/* ③ 種別列（1列目）も折り返し禁止にして保険 */
.goal-table th:nth-child(1),
.goal-table td:nth-child(1){
  white-space: nowrap;
  width: 110px;
}

/* スマホ：表は横スクロールで逃がす */
@media (max-width: 600px){
  .goal-table{
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

.goal-done{
  white-space: nowrap;
}

.goal-date{
  font-size: .8em;
  opacity: .85;
  white-space: nowrap;
}

/* Eternal icon effect（PERFECTより派手に） */
.mode-icon.eternal{
  filter:
    drop-shadow(0 0 4px rgba(120, 255, 255, .70))
    drop-shadow(0 0 12px rgba(0, 200, 255, .55))
    drop-shadow(0 0 22px rgba(0, 255, 255, .35))
    drop-shadow(0 0 36px rgba(180, 120, 255, .22));
  animation: eternalPulse 1.35s ease-in-out infinite;
  transform-origin: center;
}

/* 🔥用：ちょい強く */
.mode-icon.eternal.fire{
  filter:
    drop-shadow(0 0 5px rgba(120, 255, 255, .75))
    drop-shadow(0 0 16px rgba(0, 200, 255, .60))
    drop-shadow(0 0 30px rgba(0, 255, 255, .40))
    drop-shadow(0 0 44px rgba(180, 120, 255, .26));
}

/* 💀用：毒っぽい冷気 */
.mode-icon.eternal.skull{
  filter:
    drop-shadow(0 0 4px rgba(120, 255, 255, .70))
    drop-shadow(0 0 14px rgba(0, 170, 255, .55))
    drop-shadow(0 0 26px rgba(0, 255, 210, .28))
    drop-shadow(0 0 40px rgba(0, 120, 255, .25));
}

@keyframes eternalPulse{
  0%, 100% { transform: translateY(1px) scale(1.00); opacity: .92; }
  50%      { transform: translateY(-1px) scale(1.12); opacity: 1; }
}

        
.char-badge.eternal{
  background: rgba(120, 255, 255, .14);
  border-color: rgba(120, 255, 255, .45);
  color: #ccffff;
}

.class-desc{
  margin-top: 4px;
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.25;
  white-space: normal;   /* ←ここ重要（折り返しOK） */
}

.char-desc-row td{
  padding-top: 0;
  padding-bottom: 12px;
}

.char-desc-wide{
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.35;
  white-space: normal;
}

.notice-item{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.notice-date{
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 6px;
}

.notice-title{
  font-weight: 800;
  color: #ff6666;
  margin-bottom: 6px;
}

        
/* 狙いアイテム一覧：3列コンパクト */
.run-box ul {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 16px;
}

.run-box li {
  font-size: 0.85rem;   /* ← 小さめ */
  line-height: 1.4;
  white-space: nowrap; /* 折り返さない */
}
        
@media (max-width: 600px) {
  .run-box ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
        
.run-title {
  cursor: pointer;
}

.run-body.is-collapsed {
  display: none;
}
        
img[alt="ディアブロ2リザレクテッド ウォーロック君臨"]{
  filter:
    drop-shadow(0 0 8px rgba(255,0,0,.4))
    drop-shadow(0 0 18px rgba(180,0,255,.3));
}
        
.logtext{
  text-align: left;
}
        
.logmeta{
  text-align: left;
}
        
.img-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.img-overlay img{
  max-width: none;
  max-height: none;
}
        
.img-overlay img{
  width: auto !important;
  max-width: none !important;
}
        
.logitem + .logitem {
  border-top: 1px solid rgba(255,255,255,0.12);
}
        
.warlock-badge{
  display:inline-block;
  margin-left:.6rem;
  padding:.18rem .6rem;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.03em;

  color:#fff;
  background:linear-gradient(90deg,#ff0000,#9900ff);
  border:1px solid rgba(255,80,80,.6);
  border-radius:999px;

  box-shadow:
    0 0 8px rgba(255,0,0,.5),
    0 0 18px rgba(150,0,255,.35);

  animation: warlockPulse 1.6s ease-in-out infinite;
}

@keyframes warlockPulse{
  0%,100%{ transform:scale(1); opacity:.95; }
  50%{ transform:scale(1.08); opacity:1; }
}

@media (prefers-reduced-motion: reduce){
  .warlock-badge{ animation:none; }
}
        
.logitem img{
  margin-bottom: 8px;
}

.toc-window{
  position:fixed;
  right:20px;
  top:120px;

  width:200px;
  padding:14px;

  background:rgba(0,0,0,.65);
  backdrop-filter:blur(6px);

  border:1px solid rgba(255,0,0,.35);
  border-radius:8px;

  font-size:.85rem;
  line-height:1.6;
  z-index:1000;
}

.toc-title{
  font-weight:bold;
  margin-bottom:8px;
  color:#ff4444;
  border-bottom:1px solid rgba(255,0,0,.4);
  padding-bottom:4px;
}

.toc-window a{
  display:block;
  color:#ddd;
  text-decoration:none;
  margin:4px 0;
}

.toc-window a:hover{
  color:#fff;
}
        
html {
  scroll-behavior: smooth;
}
        
.toc-window a.active{
  color:#fff;
  font-weight:700;
  border-left:3px solid #ff0000;
  padding-left:6px;
}
        
@media(max-width:900px){
  .toc-window{ display:none; }
}
        
/* OFF（剣） */
.mode-icon.off{
  filter:
    drop-shadow(0 0 2px rgba(255, 0, 0, .35))
    drop-shadow(0 0 6px rgba(120, 0, 0, .25));
  animation: bloodPulse 3s ease-in-out infinite;
}

/* ON（盾） */
.mode-icon.on{
  filter:
    drop-shadow(0 0 3px rgba(255, 30, 30, .45))
    drop-shadow(0 0 8px rgba(150, 0, 0, .35));
  animation: bloodPulse 2.6s ease-in-out infinite;
}

@keyframes bloodPulse {
  0%,100% { opacity: .85; }
  50% { opacity: 1; }
}
        
/* トップメイン画像：控えめダーク赤グロー */
.hero-image{
  position: relative;
  border-radius: 8px;
  box-shadow:
    0 0 15px rgba(255,0,0,.18),
    0 0 40px rgba(120,0,0,.12);
  filter: brightness(.9) contrast(1.05);
  transition: all .4s ease;
}

/* うっすら内側グロー */
.hero-image::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 40px rgba(255,0,0,.15),
    inset 0 0 80px rgba(0,0,0,.6);
}
        
/* ===== ハイルーン周回トラッカー：テーブル版 ===== */

.run-box{
  margin: 14px 0;
  padding: 12px 12px 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.run-title{
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.run-box:hover {
  box-shadow: 0 0 12px rgba(180, 0, 0, 0.6);
}

.run-meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  font-size: 0.95rem;
}

.run-meta .label{
  opacity: .85;
  font-size: .85rem;
}

.run-meta .value{
  font-weight: 900;
}

.run-meta .pill{
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  white-space: nowrap;
}

.run-meta .pill.hot{
  background: rgba(255, 60, 60, 0.18);
  border-color: rgba(255, 80, 80, 0.35);
  color: #ffb3b3;
}

.run-table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #111;
}

.run-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 560px; /* スマホで横スクロールできるように */
}

.run-table th,
.run-table td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  text-align: left;
  font-size: 0.95rem;
  white-space: nowrap;
}

.run-table th{
  background: #1a0000;
  color: #ff6666;
  font-weight: 900;
  position: sticky;
  top: 0;
  z-index: 1;
}

.run-table tr:hover{
  background: rgba(255,0,0,0.08);
}

.rune-badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.15rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  font-weight: 900;
}

.rune-dot{
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.30);
  box-shadow: 0 0 10px rgba(255,255,255,.10);
}

/* ちょいランク別に発光（派手すぎない） */
.rune-tier-1 .rune-dot{ background: rgba(180, 120, 255, .65); box-shadow: 0 0 12px rgba(180, 120, 255, .25); } /* Vex/Ohm */
.rune-tier-2 .rune-dot{ background: rgba(255, 170, 0, .70);  box-shadow: 0 0 14px rgba(255, 170, 0, .22); } /* Lo/Sur */
.rune-tier-3 .rune-dot{ background: rgba(255, 60, 60, .75);  box-shadow: 0 0 16px rgba(255, 60, 60, .25); } /* Ber/Jah */
.rune-tier-4 .rune-dot{ background: rgba(0, 220, 255, .70);   box-shadow: 0 0 18px rgba(0, 220, 255, .20); } /* Cham/Zod */

.run-num{
  font-family: 'Share Tech Mono', monospace;
  font-weight: 800;
}

.run-rate{
  font-family: 'Share Tech Mono', monospace;
  font-weight: 800;
  opacity: .95;
}

.run-empty{
  opacity: .75;
  padding: 10px 0;
  font-size: .95rem;
}

@media (max-width: 600px){
  .run-meta{
    justify-content: flex-start;
  }
  .run-table th,
  .run-table td{
    font-size: 0.88rem;
    padding: 8px 8px;
  }
}
        
.run-box{
  cursor: pointer;
}
        
/* 開いている run-box を赤く発光させる */

.run-box.is-open{
  border-color: rgba(255, 60, 60, 0.65);
  box-shadow:
    0 0 0 1px rgba(255, 0, 0, 0.20),
    0 0 18px rgba(255, 0, 0, 0.35),
    0 0 40px rgba(120, 0, 0, 0.25);
  transition: box-shadow .25s ease, border-color .25s ease;
}

/* ログ画像：クリックで拡大できることを示す */
.logtext img,
.img-grid img {
  cursor: zoom-in;
  transition: transform .15s ease, filter .15s ease;
}

.logtext img:hover,
.img-grid img:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* ===== 更新履歴 ===== */

.changelog{
  max-width: 800px;
  width: 100%;
  margin: 25px auto 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #bbb;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.changelog summary{
  cursor: pointer;
  font-weight: 700;
  color: #888;
  list-style: none;
}

.changelog summary:hover{
  color: #fff;
}

.changelog-list{
  list-style: none;
  padding: 8px 0 0 0;
  margin: 0;
}

.changelog{
  opacity: .65;
}

.changelog summary{
  letter-spacing: .05em;
  font-size: .8rem;
}

.changelog-list{
  font-family: 'Share Tech Mono', monospace;
}

/* ===== CLASSIC SC ===== */
.mode-icon.classic-sc{
  filter:
    drop-shadow(0 0 4px rgba(180,220,255,.6))
    drop-shadow(0 0 12px rgba(120,180,255,.5))
    drop-shadow(0 0 24px rgba(80,140,255,.4));
}

/* ===== CLASSIC HC ===== */
.mode-icon.classic-hc{
  filter:
    drop-shadow(0 0 4px rgba(200,200,255,.5))
    drop-shadow(0 0 12px rgba(140,140,255,.45))
    drop-shadow(0 0 24px rgba(100,100,255,.35));
}

/* --- サイト更新履歴を控えめに --- */

.changelog {
  max-width: 720px;
  margin: 40px auto 10px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.changelog summary {
  cursor: pointer;
  font-weight: normal;
  color: #aaa;
  margin-bottom: 10px;
}

.changelog details[open] summary {
  color: #ccc;
}

.changelog-list {
  list-style: none; /* ・を消す */
  padding: 0;
  margin: 10px 0 0;
  border-top: 1px solid #333; /* 上に細い罫線 */
}

.changelog-list li {
  display: flex;
  gap: 15px;
  padding: 6px 0;
  border-bottom: 1px dotted #333; /* うっすら罫線 */
}

.cl-date {
  color: #777;
  min-width: 90px;
  font-family: 'Share Tech Mono', monospace;
}

.cl-text {
  color: #aaa;
}

.goal-divider {
  margin: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

#gravePreview .albumthumb img{
  filter: grayscale(60%) brightness(90%);
}

.run-tabs{
  display:flex;
  gap:6px;
  margin:16px 0 22px;

  border-bottom:1px solid #660000;
  padding-bottom:6px;
}

.run-tabs button{
  background:linear-gradient(#2a0000,#120000);
  color:#ddd;
  border:1px solid #550000;
  padding:6px 14px;
  font-family:'Share Tech Mono', monospace;
  font-size:.85rem;
  letter-spacing:.5px;
  cursor:pointer;
  transition:.2s ease;
  text-shadow:0 0 4px #000;
}

.run-tabs button:hover{
  background:linear-gradient(#550000,#220000);
  box-shadow:0 0 6px #990000;
}

.run-tabs button.active{
  background:linear-gradient(#aa0000,#550000);
  border:1px solid #ff0000;
  box-shadow:0 0 10px #ff0000;
  color:#fff;
}