*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#0e141b;color:#f1eee5;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;font-size:20px;line-height:1.5}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #ebc77c;outline-offset:5px}a:hover{color:#f5d28c}.page{max-width:1560px;margin:auto;padding:0 clamp(16px,4vw,64px)}.masthead{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 0;border-bottom:1px solid #35404a}.brand{font-family:Georgia,serif;font-weight:bold;letter-spacing:.08em;color:#ebc77c}.play{border:1px solid #82724e;border-radius:6px;padding:10px 18px;font-size:18px}.intro{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,40px);padding:28px 0;align-items:center}.eyebrow{font-size:16px;color:#e8c682;margin:0 0 12px;letter-spacing:.12em}h1{font-family:Georgia,"Yu Mincho",serif;font-size:clamp(30px,3.4vw,48px);line-height:1.35;margin:0;letter-spacing:.04em}.lead{color:#bfc7cb;margin:16px 0 0;font-size:18px}.rules{border-left:3px solid #cbaa6b;padding:16px 22px;background:#181f27}.rules h2{font-size:20px;margin:0 0 10px}.rules dl{margin:0}.rules dl div{display:flex;justify-content:space-between;gap:16px;padding:5px 0;font-size:18px}.rules dd{margin:0;color:#f4d391;white-space:nowrap}.rules p{font-size:16px;color:#bfc7cb;margin:12px 0 0} .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;border-bottom:1px solid #3e4851}.tabs a{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 10px;background:#171f28;border-bottom:3px solid transparent;text-align:center;font-weight:600}.tabs a[aria-current]{color:#f0cf90;background:#24282a;border-color:#e1bd77}.tab-number{color:#929ba3;font:18px Georgia,serif}.results{padding:28px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}h2{font-size:26px;margin:0}.description{font-size:17px;color:#bfc7cb;margin:8px 0 0}.count{white-space:nowrap;color:#dfc28c;font-size:18px}.rank-list{border:1px solid #35404a;border-radius:8px;overflow:hidden}.list-label{display:flex;justify-content:space-between;padding:12px 24px;font-size:16px;color:#aab5bd;background:#171f28}.rank-row{display:grid;grid-template-columns:56px auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 20px;border-top:1px solid #303b45;background:#141c24}.rank-row.podium{background:#232626}.rank{font:32px Georgia,serif;color:#e7c889}.rank small{font-size:18px;margin-right:3px}.portrait{width:96px;height:96px;object-fit:cover;object-position:center 20%;border:1px solid #72706a;border-radius:12px;background:#27313a;flex-shrink:0}.portrait-wrap{display:flex;align-items:center;gap:8px;flex-shrink:0;min-width:0}.tactics-color-mark{display:grid;grid-template-columns:repeat(3,16px);grid-template-rows:repeat(3,16px);gap:4px;width:56px;height:56px;flex-shrink:0}.tcm-cell{width:16px;height:16px;border-radius:2px}.tcm-attack{background:#ef4444}.tcm-magic{background:#c084fc}.tcm-move-forward{background:#38bdf8}.tcm-move-back{background:#1d4ed8}.tcm-skill{background:#facc15}.tcm-item{background:#4ade80}.tcm-other{background:#94a3b8}.missing{display:flex;align-items:center;justify-content:center;text-align:center;font-size:14px;color:#c4cbd0}.identity{min-width:0}.identity h3,.fighter h3{font-size:21px;margin:0;overflow-wrap:anywhere}.identity p{margin:7px 0 0;display:flex;gap:14px;flex-wrap:wrap}.level{color:#d7dfe5;font-weight:600;font-size:19px}.top-label{font-size:15px;color:#e8c682;border:1px solid #6b604b;border-radius:4px;padding:1px 8px}.score{text-align:right;white-space:nowrap}.score strong{font:38px Georgia,serif;color:#efcc86}.score>span{font-size:16px;margin-left:7px;color:#c7c9c8}.score p{font-size:16px;color:#bac5cd;margin:5px 0 0}.match-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,410px),1fr));gap:20px}.match{border:1px solid #35404a;border-radius:8px;background:#171f28;padding:20px}.match-top{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #35404a;padding-bottom:14px;color:#bfc7cb;font-size:16px;flex-wrap:wrap}.match-top time{font-weight:700;color:#f2e8d6;font-size:20px}.versus{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:10px;padding-top:20px;align-items:start}.fighter{display:flex;align-items:center;flex-direction:column;text-align:center;min-width:0}.fighter .portrait{width:96px;height:96px;max-width:100%;object-fit:cover}.fighter h3{font-size:19px;margin-top:10px}.fighter p{margin:5px 0 0}.outcome{margin-top:10px;font-size:16px;color:#c3cbd1}.winner .outcome{color:#f5d18a}.winner .portrait{border:2px solid #d8b574}.vs{font:16px Georgia,serif;color:#a5abb1;align-self:center}.empty{padding:44px 20px;text-align:center;background:#171f28;border:1px solid #35404a;border-radius:8px}.empty h3{margin:0;font-size:23px}.empty p{color:#bbc5ce;font-size:18px}.error{color:#ffb6b6}.pagination{display:flex;justify-content:center;gap:24px;align-items:center;margin-top:24px}.pagination a{padding:10px}footer{border-top:1px solid #35404a;display:flex;justify-content:space-between;gap:16px;padding:24px 0 32px;font-size:16px;color:#bfc7cb;flex-wrap:wrap}footer a{color:#ebcc90}@media(max-width:850px){.intro{grid-template-columns:1fr;gap:22px}.intro br{display:none}.rules{padding:12px 18px}.rank-row{gap:12px;grid-template-columns:42px auto minmax(0,1fr) auto;padding:14px 16px}.rank-row .portrait{width:84px;height:84px}.score strong{font-size:30px}}@media(max-width:600px){body{font-size:19px}.masthead{padding:18px 0}.brand{font-size:18px}.play{font-size:16px;padding:8px 10px}.intro{padding:26px 0}.tabs{grid-template-columns:repeat(2,1fr)}.tabs a{font-size:17px;line-height:1.4;padding:14px 5px}.tab-number{display:none}.rules dl div{font-size:16px;gap:8px}.section-heading{align-items:start;gap:10px}h2{font-size:23px}.rank-row{grid-template-columns:34px auto minmax(0,1fr);grid-template-areas:"rank face identity" "rank face score";gap:10px 12px;align-items:start;padding:14px 12px}.rank-row .rank{grid-area:rank;padding-top:4px}.rank-row .portrait-wrap{grid-area:face;flex-direction:column;align-items:center;gap:5px}.rank-row .identity{grid-area:identity}.rank-row .score{grid-area:score;white-space:normal;text-align:left}.rank-row .portrait{width:76px;height:76px}.rank{font-size:25px}.identity h3{font-size:18px;line-height:1.3}.identity p{gap:7px;margin-top:4px}.score p{font-size:15px}.score strong{font-size:26px}.list-label{padding:10px 16px}.match{padding:16px}.count{font-size:16px}.description{font-size:16px}.fighter .portrait{width:96px;height:96px}.fighter .portrait-wrap{flex-direction:column;align-items:center;gap:5px}}
.chip-color-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 18px;padding:12px 14px;background:#171f28;border:1px solid #35404a;border-radius:8px;font-size:16px;color:#bfc7cb;line-height:1.4}.chip-color-legend .ccl{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#e8eef3}.chip-color-legend .tcm-cell{display:inline-block;width:10px;height:10px;border-radius:2px;flex-shrink:0}@media(max-width:600px){.chip-color-legend{font-size:15px;gap:6px 10px;padding:10px 12px}}

.catchphrase{margin:4px 0 0;font-size:16px;line-height:1.3;color:#9fd0ff;overflow-wrap:anywhere}.rank-gear{margin:4px 0 0;font-size:18px;line-height:1.3;color:#fde68a;overflow-wrap:anywhere}.fighter .catchphrase,.identity .catchphrase{max-width:100%}

.tactics-analysis-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:24px}
.tactics-analysis-card{border:1px solid #35404a;border-radius:10px;background:#141c24;padding:22px;display:flex;flex-direction:column;gap:16px}
.tac-card-header{display:flex;align-items:center;gap:16px;border-bottom:1px solid #2a343d;padding-bottom:14px}
.tac-card-header .portrait{width:72px;height:72px}
.tac-card-title h3{margin:0;font-size:22px;color:#f3d28f}
.tac-card-title p{margin:4px 0 0;font-size:16px;color:#9fb0bc}
.tac-body{display:grid;grid-template-columns:140px 1fr;gap:20px;align-items:start}
.tac-grid-section{display:flex;flex-direction:column;align-items:center;gap:8px}
.tac-grid-label{font-size:14px;color:#a0aab2}
.tac-big-grid{display:grid;grid-template-columns:repeat(3,38px);grid-template-rows:repeat(3,38px);gap:6px;background:#1b242e;padding:6px;border-radius:6px;border:1px solid #3c4753}
.tac-big-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:4px;color:#fff;font-size:12px;font-weight:bold;text-shadow:0 1px 2px rgba(0,0,0,0.8);position:relative}
.tac-big-cell span{font-size:11px;opacity:0.95}
.tac-chips-section{display:flex;flex-direction:column;gap:8px}
.tac-chips-title{font-size:15px;color:#d4dfe6;font-weight:600;margin:0 0 4px}
.tac-chip-row{display:flex;align-items:center;gap:10px;background:#1b242d;padding:6px 10px;border-radius:6px;border:1px solid #2e3944;font-size:16px}
.tac-chip-rank{font-weight:bold;color:#f0cf90;font-size:14px;width:18px}
.tac-chip-icon{font-size:18px}
.tac-chip-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6edf2}
.tac-chip-rate{font-size:14px;color:#a8b5bf;white-space:nowrap}
@media(max-width:600px){
  .tac-body{grid-template-columns:1fr;justify-items:center}
  .tac-chips-section{width:100%}
  .tactics-analysis-grid{grid-template-columns:1fr}
}

/* 挑戦クエストランキング */
.rank-row.quest-row{grid-template-columns:56px 64px auto minmax(0,1fr);align-items:start}
.quest-level{font:28px Georgia,serif;color:#efcc86;line-height:1.1;padding-top:6px;white-space:nowrap}
.quest-level small{display:block;font-size:13px;color:#aab5bd;letter-spacing:.06em}
.quest-portraits{display:flex;align-items:center;gap:10px;flex-shrink:0}
.quest-portraits .portrait{width:96px;height:96px}
.quest-portraits .quest-map{object-position:center center}
.quest-portraits .quest-requester{object-position:center 18%}
.quest-identity .quest-comment{margin:6px 0 0;font-size:17px;line-height:1.35;color:#d7dee5;overflow-wrap:anywhere}
.quest-identity .quest-stats{margin:10px 0 0;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:17px;color:#efcc86}
.quest-identity .quest-stats span{white-space:nowrap}
@media(max-width:850px){
.rank-row.quest-row{grid-template-columns:42px 52px auto minmax(0,1fr);gap:10px 12px}
.quest-level{font-size:24px}
.quest-portraits .portrait{width:84px;height:84px}
}
@media(max-width:600px){
.rank-row.quest-row{grid-template-columns:34px minmax(0,1fr);grid-template-areas:"rank level" "faces faces" "identity identity";gap:8px 10px}
.rank-row.quest-row .rank{grid-area:rank}
.rank-row.quest-row .quest-level{grid-area:level;padding-top:2px}
.rank-row.quest-row .quest-portraits{grid-area:faces;justify-content:flex-start}
.rank-row.quest-row .quest-identity{grid-area:identity}
.quest-portraits .portrait{width:72px;height:72px}
.quest-identity .quest-comment{font-size:16px}
.quest-identity .quest-stats{font-size:16px;gap:6px 12px}
}

/* 強敵キル行 */
.rank-row.enemy-row .enemy-desc{margin:6px 0 0;font-size:16px;line-height:1.35;color:#d7dee5;overflow-wrap:anywhere}
.rank-row.enemy-row .enemy-attrs{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:16px;color:#efcc86}
.rank-row.enemy-row .enemy-attrs span{white-space:nowrap}
@media(max-width:600px){
.rank-row.enemy-row .enemy-desc{font-size:15px}
.rank-row.enemy-row .enemy-attrs{font-size:15px;gap:4px 10px}
.tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
}

.identity .job-label{display:inline-block;margin-left:.4em;color:#9fd4ff;font-weight:700;font-size:18px}

/* オリジナルチップ行 */
.rank-row.recipe-row{grid-template-columns:56px minmax(0,1fr) auto}
.rank-row.recipe-row .recipe-inventor{margin:6px 0 0;font-size:17px;color:#9fd0ff;overflow-wrap:anywhere}
.rank-row.recipe-row .recipe-parts{margin:8px 0 0;font-size:16px;line-height:1.35;color:#efcc86;overflow-wrap:anywhere}
.rank-row.recipe-row .recipe-cost{margin:6px 0 0;font-size:16px;font-weight:700;color:#fde68a}
@media(max-width:600px){
.rank-row.recipe-row{grid-template-columns:34px minmax(0,1fr);grid-template-areas:"rank score" "identity identity";gap:8px 10px}
.rank-row.recipe-row .rank{grid-area:rank}
.rank-row.recipe-row .score{grid-area:score;text-align:right}
.rank-row.recipe-row .recipe-identity{grid-area:identity}
.rank-row.recipe-row .recipe-inventor,.rank-row.recipe-row .recipe-parts,.rank-row.recipe-row .recipe-cost{font-size:15px}
}

/* クラン勢力図 */
.faction-balance{margin:0;padding:16px 18px;border:1px solid #35404a;border-radius:10px;background:#141c24;width:100%}
.faction-balance-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.faction-balance-head h2{margin:0;font-size:20px;color:#f0cf90}
.faction-balance-lead{margin:4px 0 0;font-size:15px;color:#bfc7cb;line-height:1.35;max-width:42em}
.faction-cheer{margin:0;padding:5px 10px;border:1px solid #6b604b;border-radius:6px;background:#232018;color:#f5d18a;font-size:15px;font-weight:700;white-space:nowrap}
.faction-bar-block{margin-bottom:12px}
.faction-bar-label-row{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-bottom:6px;font-size:15px;color:#d7dee5}
.faction-bar-label-row strong{color:#efcc86;font-size:16px}
.faction-seg-bar{display:flex;width:100%;min-height:28px;border-radius:6px;overflow:hidden;border:1px solid #3e4851;background:#0e141b}
.faction-seg-bar .seg{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;padding:4px;font-size:14px;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.55);overflow:hidden;white-space:nowrap}
.faction-seg-bar .seg em{font-style:normal;opacity:.9}
.faction-seg-bar .seg-a{background:#c45c26}
.faction-seg-bar .seg-b{background:#3b82f6}
.faction-seg-bar .seg-c{background:#22a06b}
.faction-seg-bar .seg-empty{width:100%;justify-content:center;color:#9aa7b2;font-weight:600;background:#1a222b;font-size:14px}
.faction-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin:6px 0 0;padding:0;list-style:none;font-size:14px;color:#cfd7de}
.faction-legend .dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px;vertical-align:middle}
.faction-legend .dot-a{background:#c45c26}
.faction-legend .dot-b{background:#3b82f6}
.faction-legend .dot-c{background:#22a06b}
.faction-power-bars{display:flex;flex-direction:column;gap:8px}
.power-row{display:grid;grid-template-columns:5.2em minmax(0,1fr) 3.5em;gap:8px;align-items:center}
.power-name{font-size:15px;font-weight:700;color:#e8eef3}
.power-track{height:18px;border-radius:5px;background:#0e141b;border:1px solid #3e4851;overflow:hidden}
.power-fill{display:block;height:100%;border-radius:4px;min-width:0}
.power-fill.power-centria{background:linear-gradient(90deg,#c9a227,#efcc86)}
.power-fill.power-maou{background:linear-gradient(90deg,#6b21a8,#a855f7)}
.power-fill.power-romancia{background:linear-gradient(90deg,#1d4ed8,#60a5fa)}
.power-pt{text-align:right;font-size:16px;color:#efcc86;font-weight:700}
.clan-subtabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 18px}
.clan-subtabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 8px;border:1px solid #3e4851;border-radius:8px;background:#171f28;font-size:17px;font-weight:700;text-align:center}
.clan-subtabs a small{font-size:14px;font-weight:600;color:#aab5bd}
.clan-subtabs a[aria-current]{border-color:#e1bd77;color:#f0cf90;background:#24282a}
.clan-week-note{margin:6px 0 0;font-size:15px;color:#9fd0ff}
@media(max-width:600px){
.faction-balance{padding:12px 10px}
.faction-balance-head h2{font-size:19px}
.faction-cheer{white-space:normal;font-size:14px;padding:4px 8px}
.power-row{grid-template-columns:4.8em minmax(0,1fr) 3em;gap:6px}
.power-name{font-size:14px}
.power-pt{font-size:15px}
.clan-subtabs a{font-size:15px;padding:10px 4px}
.tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.tcm-composed{position:relative}.tcm-composed::after{content:"";position:absolute;width:1px;height:1px;left:50%;top:50%;background:#fff}

/* クラン別3縦列ランキング */
.clan-ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.clan-col {
  border: 1px solid #35404a;
  border-radius: 8px;
  background: #141c24;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.clan-col-a { border-top: 4px solid #c45c26; }
.clan-col-b { border-top: 4px solid #3b82f6; }
.clan-col-c { border-top: 4px solid #22a06b; }
.clan-col-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  background: #171f28;
  border-bottom: 1px solid #303b45;
  text-align: center;
}
.clan-col-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.clan-col-a .clan-col-title { color: #f5a878; }
.clan-col-b .clan-col-title { color: #93c5fd; }
.clan-col-c .clan-col-title { color: #6ee7b7; }
.clan-col-weekly {
  font-size: 16px;
  color: #efcc86;
  font-weight: 600;
}
.clan-col-list {
  display: flex;
  flex-direction: column;
}
.clan-col-empty {
  padding: 28px 12px;
  text-align: center;
  color: #9aa7b2;
  font-size: 17px;
  margin: 0;
}
.clan-rank-item {
  display: grid;
  grid-template-columns: 40px auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 10px;
  border-top: 1px solid #28333e;
  background: #141c24;
}
.clan-rank-item:first-child {
  border-top: none;
}
.clan-rank-item.podium {
  background: #1c232b;
}
.clan-rank-item .portrait {
  width: 56px;
  height: 56px;
  border-radius: 8px;
}
.clan-item-rank {
  font: 24px Georgia, serif;
  color: #e7c889;
  text-align: center;
}
.clan-item-rank small {
  font-size: 15px;
}
.clan-item-name {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  color: #f1eee5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clan-item-meta {
  margin: 4px 0 0;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.clan-item-meta .level {
  font-size: 17px;
}
.clan-item-phrase {
  font-size: 15px;
  margin-top: 3px;
}
.clan-rank-item .clan-week-note {
  margin: 3px 0 0;
  font-size: 14px;
  color: #9fd0ff;
}
.clan-item-score {
  text-align: right;
  white-space: nowrap;
}
.clan-item-score strong {
  font: 24px Georgia, serif;
  color: #efcc86;
}
.clan-item-score span {
  font-size: 15px;
  margin-left: 3px;
  color: #c7c9c8;
}

@media (max-width: 850px) {
  .clan-ranking-grid {
    gap: 6px;
  }
  .clan-col-header {
    padding: 10px 4px;
  }
  .clan-col-title {
    font-size: 18px;
  }
  .clan-col-weekly {
    font-size: 14px;
  }
  .clan-rank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 4px;
    gap: 6px;
  }
  .clan-rank-item .portrait {
    width: 48px;
    height: 48px;
  }
  .clan-rank-item .portrait-wrap {
    justify-content: center;
  }
  .clan-item-rank {
    font-size: 20px;
    line-height: 1;
  }
  .clan-item-info {
    width: 100%;
    min-width: 0;
  }
  .clan-item-name {
    font-size: 17px;
    line-height: 1.25;
    text-align: center;
  }
  .clan-item-meta {
    justify-content: center;
    font-size: 15px;
    margin-top: 2px;
  }
  .clan-item-meta .level {
    font-size: 15px;
  }
  .clan-item-phrase {
    display: none;
  }
  .clan-rank-item .clan-week-note {
    font-size: 13px;
  }
  .clan-item-score {
    text-align: center;
    margin-top: 2px;
  }
  .clan-item-score strong {
    font-size: 20px;
  }
  .clan-item-score span {
    font-size: 13px;
  }
}

/* キル数ランキング（強敵モンスター／敵パーティー 2列表示） */
.enemy-kills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.enemy-col {
  border: 1px solid #35404a;
  border-radius: 8px;
  background: #141c24;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.enemy-col-monsters { border-top: 4px solid #ef4444; }
.enemy-col-parties { border-top: 4px solid #8b5cf6; }
.enemy-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #171f28;
  border-bottom: 1px solid #303b45;
}
.enemy-col-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #f1eee5;
}
.enemy-col-count {
  font-size: 16px;
  color: #efcc86;
  font-weight: 600;
}
.party-roster-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: 88px;
  min-width: 88px;
  justify-content: center;
}
.party-monster-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #3c4854;
  background: #0f151c;
  object-fit: cover;
}
.party-monster-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #253340;
  color: #e2e8f0;
  font-size: 16px;
  font-weight: 700;
}
.party-monster-names {
  margin: 4px 0 0;
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.3;
}

/* 組み手チップ（新着40件 2列ナンバー表） */
.kumite-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.kumite-card {
  border: 1px solid #35404a;
  border-radius: 8px;
  background: #141c24;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kumite-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #28333e;
  padding-bottom: 8px;
}
.kumite-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font: 700 20px Georgia, serif;
  color: #efcc86;
  background: #1b2530;
  border: 1px solid #435260;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}
.kumite-badge small {
  font-size: 13px;
  color: #cbd5e1;
}
.kumite-name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #f1eee5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kumite-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  color: #cbd5e1;
}
.kumite-card-body p {
  margin: 0;
  line-height: 1.4;
}
.kumite-card-body .recipe-inventor {
  color: #e2e8f0;
  font-weight: 600;
}
.kumite-card-body .recipe-parts {
  color: #93c5fd;
}
.kumite-card-body .recipe-cost {
  color: #efcc86;
  font-size: 15px;
}
.meta-label {
  color: #9aa7b2;
  font-weight: 600;
  margin-right: 2px;
}

/* クラン決戦ランキング */
.clan-war-subtabs,
.clan-war-metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.clan-war-subtabs a,
.clan-war-metric-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #3e4851;
  border-radius: 8px;
  background: #171f28;
  font-size: 17px;
  font-weight: 700;
  color: #d7dee4;
}
.clan-war-subtabs a[aria-current],
.clan-war-metric-tabs a[aria-current] {
  border-color: #e1bd77;
  color: #f0cf90;
  background: #24282a;
}
.clan-war-meta {
  margin: 0 0 16px;
  font-size: 16px;
  color: #9fd0ff;
}
/* フェーズ3列はクラン別TOP10（.clan-ranking-grid）と同じ行レイアウトを使う */
.clan-war-phase-grid .clan-war-phase-header {
  gap: 6px;
}
.clan-war-phase-grid .clan-war-phase-title {
  font-size: 18px;
  line-height: 1.3;
}
.clan-war-phase-status {
  font-size: 14px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.clan-war-phase-status.success {
  color: #6ee7b7;
  background: #163528;
}
.clan-war-phase-status.fail {
  color: #fca5a5;
  background: #3a1c1c;
}
.clan-war-phase-status.pending {
  color: #9aa7b2;
  background: #1b2430;
}
.clan-war-status {
  font-size: 14px;
  color: #9aa7b2;
}
.clan-war-clan-tag {
  font-size: 14px;
  color: #efcc86;
}
.clan-war-legacy-date {
  font-size: 14px;
  color: #9fd0ff;
}
.clan-war-legacy-first .rank {
  color: #ffd700;
}
.clan-war-total-list .score span {
  margin-left: 4px;
}

@media (max-width: 850px) {
  .clan-war-phase-grid .clan-war-phase-title {
    font-size: 15px;
  }
  .clan-war-phase-grid .clan-war-phase-clan,
  .clan-war-phase-status {
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  .enemy-kills-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .kumite-recent-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .party-roster-wrap {
    width: 60px;
    min-width: 60px;
  }
  .party-monster-thumb,
  .party-monster-initial {
    width: 34px;
    height: 34px;
  }
  .clan-war-subtabs a,
  .clan-war-metric-tabs a {
    font-size: 15px;
    padding: 8px 10px;
  }
}


/* ペバディ絆ランキング */
.rank-row.pet-rank-row{grid-template-columns:2em 7em minmax(0,1fr)}.pet-rank-row .identity h3,.pet-rank-row .identity p{font-size:20px;line-height:1.25;overflow-wrap:anywhere}.pet-rank-row .pet-rank-stats{display:flex;flex-wrap:wrap;gap:.3em .8em}.pet-rank-stats span{white-space:nowrap}.pet-rank-image{position:relative;width:100%;aspect-ratio:1;isolation:isolate}.pet-rank-body{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.pet-rank-overlay{position:absolute;width:100%;height:100%}.pet-rank-overlay img{width:100%;height:100%;object-fit:contain}.pet-rank-tint{position:absolute;inset:0;mask-size:contain;-webkit-mask-size:contain;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}.pet-rank-row .identity{min-width:0}@media(max-width:600px){.rank-row.pet-rank-row{grid-template-columns:2em minmax(0,1fr);grid-template-areas:'rank face' 'identity identity'}.pet-rank-image{grid-area:face;width:7em;max-width:100%;justify-self:center}}
