/* "Refeito do zero": the connection and the skills, between the server's numbers and the systems. */
.rebuilt { margin-top: 60px; }
.rebuilt-head { text-align: center; }
.rebuilt-head .kicker { color: var(--ember); font: 700 14px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.rebuilt-head h2 { margin: 10px 0 0; font: 700 clamp(28px, 3.2vw, 38px)/1.15 var(--body); color: var(--gold); text-shadow: 0 2px 0 #000; text-wrap: balance; }
.rebuilt-head p { margin: 8px auto 0; max-width: 60ch; color: #cdbf9f; font-size: 18px; }
.rebuilt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
@media (max-width: 860px) { .rebuilt-grid { grid-template-columns: minmax(0, 1fr); } }
.rebuilt-card { display: grid; gap: 16px; align-content: start; min-width: 0; padding: 22px; background: linear-gradient(#23201b, #191713);
  border: 1px solid var(--rim); box-shadow: inset 0 0 0 1px #0d0b09, inset 0 0 0 2px var(--rim-dark), 0 8px 24px #000a; }
.rebuilt-card h3 { margin: 0; font: 700 25px/1.2 var(--body); color: #f4e4bd; text-shadow: 0 2px 0 #000; }
.rebuilt-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.rebuilt-list li { position: relative; padding-left: 22px; color: #d6caB3; font-size: 17px; line-height: 1.45; }
.rebuilt-list li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 6px rgba(255, 200, 100, .5); }
.rebuilt-list b { color: #f1e3bd; }

/* The hit and its damage on a 2.6 s time line: before, the number came up to 1 s later; now with the hit. */
.lag-demo { display: grid; gap: 8px; padding: 12px 14px; background: #15130f; border: 1px solid #594831; }
.lag-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 62px; gap: 12px; align-items: center; }
.lag-label, .lag-time { color: var(--muted); font-size: 14px; }
.lag-time { text-align: right; }
.lag-row.is-now .lag-label, .lag-row.is-now .lag-time { color: var(--good); font-weight: 700; }
.lag-track { position: relative; height: 44px; border-bottom: 1px solid #3a3022; }
.lag-head { position: absolute; top: 4px; bottom: 0; width: 2px; background: linear-gradient(transparent, #e8c57c); animation: lag-head 2.6s linear infinite; }
.lag-hit { position: absolute; left: 6%; bottom: 6px; width: 16px; height: 16px; margin-left: -8px; transform: rotate(45deg); background: radial-gradient(#fff4d0, #f0a040 55%, transparent 70%); animation: lag-hit 2.6s linear infinite; }
.lag-dmg { position: absolute; bottom: 14px; margin-left: -24px; font: 700 18px/1 var(--body); color: #ff8a5c; text-shadow: 0 1px 0 #000, 0 0 8px rgba(255, 90, 40, .45); white-space: nowrap; }
.lag-row .lag-dmg { left: 44%; animation: lag-late 2.6s linear infinite; }
.lag-row.is-now .lag-dmg { left: 6%; animation-name: lag-now; }
@keyframes lag-head { from { left: 0; } to { left: 100%; } }
@keyframes lag-hit { 0%, 5% { opacity: 0; transform: rotate(45deg) scale(.4); } 7% { opacity: 1; transform: rotate(45deg) scale(1.25); } 16%, 100% { opacity: 0; transform: rotate(45deg) scale(1); } }
@keyframes lag-now { 0%, 6% { opacity: 0; transform: translateY(6px); } 9% { opacity: 1; transform: none; } 34% { opacity: 1; transform: translateY(-10px); } 42%, 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes lag-late { 0%, 44% { opacity: 0; transform: translateY(6px); } 47% { opacity: 1; transform: none; } 72% { opacity: 1; transform: translateY(-10px); } 80%, 100% { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .lag-head, .lag-hit { display: none; } .lag-dmg { animation: none !important; } }

/* A skill's own tooltip (the Pikeman's Tornado, rank 10) with the review seal. */
.skill-tip { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; padding: 14px; background: rgba(12, 10, 8, .92); border: 1px solid #6b5a3a; box-shadow: inset 0 0 0 1px #0d0b09; }
.skill-tip img { width: 49px; height: 46px; border: 1px solid #594831; }
.skill-tip-body { min-width: 0; }
.skill-tip-name { font: 700 18px/1.2 var(--body); color: #f0d080; }
.skill-tip-name span { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }
.skill-tip p { margin: 4px 0 8px; color: #e9e2cd; font-size: 15px; line-height: 1.4; }
.skill-tip dl { margin: 0; display: grid; gap: 2px; font-size: 14px; }
.skill-tip dl div { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tip dt { color: #cdbf9c; }
.skill-tip dd { margin: 0; color: var(--good); font-weight: 700; }
.skill-seal { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border: 1px solid #5f7d3a; background: #1b2610; color: var(--good);
  font: 700 12px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-4deg); }
