/* ===== Pastel Sky — โทนเดียวกับ UI ในเกม Ragnarok: The New World ===== */
:root {
  color-scheme: light;
  --sky-1: #2a2a2a; --sky-2: #1f1f1f; --sky-3: #161616;   /* พื้นหลังดำไล่เทา */
  --bg: #f1f1f1;
  --card: #ffffff;
  --card-solid: #ffffff;
  --ink: #141414;
  --muted: #6e6e6e;
  --line: #e2e2e2;
  --field: #f7f7f7;
  --accent: #141414;
  --accent-2: #4a4a4a;
  --accent-soft: #ececec;
  --num: #141414;
  --gold: #141414;
  --good: #1e9e6e; --good-soft: #e0f6ec;
  --bad: #e0506a;  --bad-soft: #fde7ec;
  --warn-bg: #fff4dc; --warn-ink: #8a5a00;
  --chart-base: #bdbdbd;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 8px 24px rgba(0, 0, 0, .18);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--sky-3); }
body {
  min-height: 100vh; color: var(--ink);
  font: 15px/1.55 "IBM Plex Sans Thai", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 38%, var(--sky-3) 100%) fixed;
}
/* ก้อนเมฆจางๆ ด้านหลัง */
body::before {
  display: none;
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 160px at 12% 8%, rgba(255, 255, 255, .35), transparent 70%),
    radial-gradient(520px 180px at 88% 14%, rgba(255, 255, 255, .28), transparent 70%),
    radial-gradient(600px 220px at 70% 92%, rgba(255, 255, 255, .25), transparent 70%),
    radial-gradient(380px 150px at 18% 78%, rgba(229, 229, 229, .3), transparent 70%);
}
/* ตัวหนังสือที่วางบนพื้นหลังโดยตรง ให้เข้มพอจะอ่านชัด */
.top .brand small, .target-bar .muted, .res-head .muted { color: #b5b5b5; }
.brand, .res-head h2, .target-bar, .brand small { color: #f2f2f2 !important; }
[v-cloak] { display: none; }
#app { max-width: 1280px; margin: 0 auto; padding: 18px 16px 40px; }
h1, h2 { margin: 0; line-height: 1.25; color: var(--ink); }
h2 { font-size: 18px; font-weight: 600; }
h2 small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }
input, select, button { font: inherit; color: inherit; }
input, select, textarea {
  background: var(--field); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 12px; width: 100%; min-width: 0; transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #cfcfcf; }
input:focus, select:focus, textarea:focus { outline: none; background: #ffffff; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(116, 116, 116, .18); }
input[type=checkbox] { width: auto; accent-color: var(--accent); box-shadow: none; }
::placeholder { color: #3d3d3d; }
img { display: block; max-width: 100%; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.err { color: var(--bad); min-height: 1.2em; margin: 0; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }
.card {
  background: var(--card); border: 1px solid rgba(255, 255, 255, .95); border-radius: var(--radius);
  box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 99px; padding: 1px 12px; font-size: 13px; font-weight: 500; }
.pill.strong { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #ffffff; box-shadow: 0 2px 6px rgba(116, 116, 116, .35); }
.tag { font-size: 11px; background: #141414; color: #fff; border-radius: 99px; padding: 0 8px; margin-left: 4px; font-weight: 600; }

/* ปุ่มทรงแคปซูลแบบในเกม */
.btn {
  border: 1px solid transparent; border-radius: 99px; padding: 8px 20px; cursor: pointer; font-weight: 500;
  white-space: nowrap; background: var(--accent-soft); color: var(--accent); transition: transform .08s, box-shadow .15s, filter .15s;
}
.btn.primary {
  color: #ffffff; background: linear-gradient(180deg, #3d3d3d 0%, var(--accent) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 12px rgba(116, 116, 116, .35);
  border-color: #686868;
}
.btn.ghost { background: rgba(255, 255, 255, .9); border-color: var(--line); color: var(--ink); }
.btn.danger { background: rgba(255, 255, 255, .9); border-color: #f6c9d2; color: var(--bad); }
.btn.sm { padding: 4px 14px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn:not(:disabled):hover { filter: brightness(1.05); }
.btn:not(:disabled):active { transform: translateY(1px); }
.btn.ghost:not(:disabled):hover { border-color: var(--accent-2); color: var(--accent); }
.btn.danger:not(:disabled):hover { background: var(--bad-soft); }
.link { background: none; border: 0; padding: 0 4px; color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 500; border-radius: 6px; }
.link:hover { background: var(--accent-soft); }
.link.red { color: var(--bad); }
.link.red:hover { background: var(--bad-soft); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.brand { font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 10px; color: var(--ink); letter-spacing: .2px; }
.brand small { font-weight: 400; font-size: 13px; color: var(--muted); }
.logo {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 18px; color: #ffffff;
  background: linear-gradient(145deg, #3d3d3d, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 12px rgba(116, 116, 116, .35);
}

/* create */
.create { display: flex; gap: 12px; align-items: flex-end; padding: 16px 18px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 180px; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 500; }
.field.grow-0 { flex: 0 1 240px; }
.active-info { flex: 1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 16px; }

/* work */
.work { margin-top: 16px; }
.target-bar { padding: 4px 6px 12px; font-size: 14px; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; }
.zone-wrap { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.zone-head { display: flex; justify-content: space-between; align-items: baseline; }
.zone {
  border: 2px dashed #d2d2d2; border-radius: 16px; cursor: pointer; position: relative;
  background: rgba(248, 248, 248, .7); transition: border-color .15s, background .15s, box-shadow .15s;
}
.zone:hover { border-color: var(--accent-2); background: #ffffff; }
.zone.sel { border-color: var(--accent); border-style: solid; background: linear-gradient(180deg, #f6f6f6, #ededed); box-shadow: 0 0 0 4px rgba(116, 116, 116, .12); }
.zone.over { border-color: var(--good); background: var(--good-soft); }
.zone.big { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; }
.zone-icon { font-size: 30px; }
.ocr-wait { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.ocr-wait.sm { gap: 6px; font-size: 13px; padding: 18px 0; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.confirm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.confirm-img { border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; align-self: start; box-shadow: var(--shadow); }
.confirm-form { display: flex; flex-direction: column; gap: 8px; }
.confirm-form input { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--num); text-align: right; }
.calc { background: var(--accent-soft); border-radius: 12px; padding: 7px 12px; font-size: 14px; }
.calc b { color: var(--num); }
.warn { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 8px 12px; margin: 0; font-size: 13px; list-style: none; border: 1px solid #f6e2b0; }

.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.slot { padding: 9px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.slot img { border-radius: 10px; height: 90px; width: 100%; object-fit: cover; object-position: top; box-shadow: 0 2px 8px rgba(92, 92, 92, .15); }
.slot.filled { border-style: solid; border-color: #dcdcdc; background: #ffffff; }
.slot-label { font-weight: 600; font-size: 13px; }
.slot-empty { flex: 1; display: grid; place-items: center; color: #acacac; font-weight: 500; font-size: 13px; }
.slot-actions { display: flex; flex-wrap: wrap; gap: 2px; margin-top: auto; }

/* ยืนยัน stat: แถวทรงแคปซูลเหมือนหน้า stat ในเกม */
.stat-confirm { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.stat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; }
.stat-grid.one { grid-template-columns: minmax(0, 520px); }
.stat-left { display: flex; flex-direction: column; gap: 5px; }
.sline { display: grid; grid-template-columns: 1fr 100px; gap: 6px; align-items: center; font-size: 13px; background: var(--bg); border-radius: 99px; padding: 3px 4px 3px 14px; }
.sline input, .srow input { padding: 3px 10px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--num); border-radius: 99px; background: #ffffff; }
.stat-right { display: flex; flex-direction: column; gap: 5px; }
.shead, .srow { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); gap: 6px; align-items: center; font-size: 13px; }
.srow { background: var(--bg); border-radius: 99px; padding: 3px 4px 3px 12px; }
.shead { color: var(--muted); font-size: 12px; text-align: center; }
.srow > span { font-weight: 600; }

/* ตาราง */
table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--line); font-size: 14px; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 500; font-size: 12px; background: var(--bg); border-bottom: 0; }
th:first-child { border-radius: 10px 0 0 10px; }
th:last-child { border-radius: 0 10px 10px 0; }
tbody tr:not(.cmt-row):hover td { background: rgba(235, 235, 235, .45); }
td { color: var(--ink); }
.runs td:nth-child(3), .mini td:nth-child(3) { color: var(--num); font-weight: 600; }
tfoot td { border-bottom: 0; font-weight: 600; }
tfoot td b { color: var(--num); }
td input { padding: 3px 8px; text-align: right; }
td.acts { white-space: nowrap; }
tr.has-cmt td { border-bottom: 0; }
tr.cmt-row td { text-align: left; padding-top: 0; font-size: 13px; }
tr.cmt-row .row { margin-top: 6px; }
.cmt { display: inline-block; background: linear-gradient(180deg, #f4f4f4, #ececec); color: #585858; border: 1px solid #e1e1e1; border-radius: 99px; padding: 2px 12px; cursor: pointer; white-space: pre-wrap; }
.cmt:hover { border-color: var(--accent-2); }

/* results */
.results { margin-top: 26px; }
.res-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.res-head h2 { font-size: 20px; }
.res-head select { width: auto; border-radius: 99px; background: rgba(255, 255, 255, .9); }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.task { padding: 14px 16px; margin-bottom: 14px; transition: box-shadow .15s, border-color .15s; }
.task.on { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(116, 116, 116, .18), var(--shadow); }
.task.act { box-shadow: 0 0 0 3px rgba(185, 185, 185, .45), var(--shadow); }
.task-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.task-head > b { font-size: 16px; }
.chk { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); cursor: pointer; }
.chk input { width: 16px; height: 16px; }
.note { background: #f8f8f8; color: #5c5c5c; border: 1px solid #e3e3e3; border-radius: 99px; padding: 1px 10px; font-size: 13px; }
.task-body { display: block; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-content: start; }
.thumbs figure { margin: 0; cursor: zoom-in; }
.thumbs figure.none { cursor: default; }
.thumbs img, .thumbs figure > div { height: 72px; width: 100%; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); }
.thumbs img { transition: transform .15s, box-shadow .15s; }
.thumbs figure:not(.none):hover img { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(92, 92, 92, .2); }
.thumbs figure > div { display: grid; place-items: center; color: #bbbbbb; background: var(--field); }
.thumbs figcaption { font-size: 11px; color: var(--muted); text-align: center; margin-top: 3px; }
.stat-box { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.stat-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.stat-chips.attrs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat-chips span { background: var(--bg); border-radius: 10px; padding: 3px 9px; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.stat-chips i { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-chips b { color: var(--num); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.stat-chips em { font-style: normal; font-size: 11px; color: var(--muted); }
.stat-chips.attrs span { background: linear-gradient(180deg, #f7f7f7, #f0f0f0); align-items: center; text-align: center; }
.stat-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--warn-bg); border: 1px solid #f6e2b0; color: var(--warn-ink); border-radius: 12px; padding: 8px 12px; font-size: 13px; }
.gap { display: inline-block; border-radius: 99px; padding: 0 8px; font-size: 12px; font-weight: 600; }
.gap.best { background: var(--good-soft); color: var(--good); }
.gap.near { background: #fff4dc; color: #a06a00; }
.gap.far { background: var(--bad-soft); color: var(--bad); }
b.best { color: var(--good) !important; } b.near { color: #a06a00 !important; } b.far { color: var(--bad) !important; }
.run-stats { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.run-stats span { background: var(--bg); border-radius: 8px; padding: 1px 8px; font-size: 12px; display: inline-flex; gap: 4px; align-items: baseline; }
.run-stats i { font-style: normal; color: var(--muted); font-size: 11px; }
.run-stats b { color: var(--num); font-weight: 600; font-variant-numeric: tabular-nums; }
.run-stats span.chg { background: #141414; }
.run-stats span.chg i, .run-stats span.chg b { color: #fff; }
tr.stat-run td { padding-top: 0; }
.hint { margin: -4px 0 0; }
.modal-box.run-stat-box { width: min(560px, 100%); }
.run-stat-box .zone.big { min-height: 150px; }
.run-stat-img { max-height: 220px; border-radius: 10px; border: 1px solid var(--line); }
/* ไฮไลต์อันดับ DMG รวมในแต่ละ Task */
tr.rk-top td { background: #ffe38a; font-weight: 600; color: #3a2a00; border-top: 1px solid #e8b923; border-bottom: 1px solid #e8b923; }
tr.rk-second td { background: #eef0f3; }
tr.rk-low td { background: #fdecef; }
tr.rk-top td.rnd { box-shadow: inset 6px 0 0 #c08a00; }
tr.rk-second td.rnd { box-shadow: inset 4px 0 0 #9aa3ad; }
tr.rk-low td.rnd { box-shadow: inset 4px 0 0 #e0506a; }
tr.stat-run.rk-top td { box-shadow: inset 6px 0 0 #c08a00; font-weight: 400; border-top: 0; }
tr.stat-run.rk-second td { box-shadow: inset 4px 0 0 #9aa3ad; }
tr.stat-run.rk-low td { box-shadow: inset 4px 0 0 #e0506a; }
td.rnd { white-space: nowrap; }
.rank { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; border-radius: 99px; padding: 0 7px; vertical-align: 1px; }
.rank.top { background: linear-gradient(135deg, #f7c948, #c08a00); color: #fff; font-size: 12px; padding: 1px 9px; box-shadow: 0 0 0 2px #fff3c4, 0 2px 6px rgba(192,138,0,.55); }
.rank.second { background: #8a939d; color: #fff; }
.rank.low { background: #e0506a; color: #fff; }
.gap-cell small { display: block; font-size: 11px; color: var(--muted); }
.sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sum em { font-style: normal; font-size: 11px; color: var(--muted); }
.sum > div.dmg-top { background: #fff; border: 2px solid #141414; }
.sum > div { background: linear-gradient(180deg, #f7f7f7, #f0f0f0); border: 1px solid #e8e8e8; border-radius: 14px; padding: 7px 12px; display: flex; flex-direction: column; }
.sum > div:first-child { background: linear-gradient(180deg, #3d3d3d, var(--accent)); border-color: #686868; }
.sum > div:first-child span { color: rgba(255, 255, 255, .85); }
.sum > div:first-child b { color: #ffffff; }
.sum span { font-size: 12px; color: var(--muted); }
.sum b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--num); }

/* compare */
.modal { position: fixed; inset: 0; background: rgba(77, 77, 77, .28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: start center; padding: 24px 12px; overflow: auto; z-index: 20; }
.modal-box { background: var(--card-solid); border-radius: 22px; padding: 18px; width: min(1100px, 100%); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 60px rgba(66, 66, 66, .25); }
.chart-wrap { height: 220px; background: var(--field); border-radius: 14px; padding: 10px; }
.table-scroll { overflow-x: auto; }
.cmp th, .cmp td { text-align: left; vertical-align: top; }
.cmp thead th { font-size: 14px; color: var(--ink); background: transparent; }
.cmp td b { color: var(--num); font-weight: 600; }
.cmp tr.grp td { background: var(--bg); font-weight: 600; font-size: 13px; color: var(--accent); border-bottom: 0; }
.cmp tr.grp td { border-radius: 10px; }
.crown { background: #141414; color: #fff; border-radius: 99px; padding: 1px 10px; font-size: 12px; font-weight: 600; }
.eff { font-size: 11px; margin-top: 2px; color: var(--muted); }
.eff.up { color: var(--good); } .eff.down { color: var(--bad); }
.cmp tr.eff-note td { font-size: 12px; color: var(--muted); background: #fbfbfb; }
.delta { font-size: 12px; font-weight: 600; margin-left: 6px; border-radius: 99px; padding: 0 7px; }
.delta.up { color: var(--good); background: var(--good-soft); }
.delta.down { color: var(--bad); background: var(--bad-soft); }
.delta.same { color: var(--muted); }
.cmp .note { display: inline-block; margin-top: 2px; }
.cmp-img { max-height: 180px; border-radius: 10px; cursor: zoom-in; border: 1px solid var(--line); }

.lightbox { position: fixed; inset: 0; background: rgba(39, 39, 39, .8); display: grid; place-items: center; z-index: 30; padding: 16px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 40; }
.toast { background: linear-gradient(180deg, #494949, var(--ink)); color: #ffffff; padding: 10px 16px; border-radius: 14px; font-weight: 500; max-width: 340px; box-shadow: 0 8px 24px rgba(54, 54, 54, .3); }
.toast.err { background: linear-gradient(180deg, #ec6b82, var(--bad)); }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { padding: 28px; width: min(360px, 100%); display: flex; flex-direction: column; gap: 12px; text-align: center; }
.login-card h1 { margin: 0; }
.login-card .login-logo { width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; background: #141414; color: #fff; display: grid; place-items: center; font-size: 26px; }
.login-card .gbtn { display: flex; justify-content: center; min-height: 44px; margin-top: 6px; }
.login-card code { background: var(--field); padding: 0 4px; border-radius: 4px; }
.me { display: flex; align-items: center; gap: 10px; }
.me img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.me-name { display: flex; flex-direction: column; line-height: 1.2; text-align: right; color: #f2f2f2; }
.me-name b { font-size: 13px; font-weight: 600; }
.me-name small { font-size: 11px; opacity: .7; }
@media (max-width: 600px) { .me-name { display: none; } }

@media (max-width: 900px) {
  .work-grid, .task-body, .confirm, .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* รูปชุดอุปกรณ์ของแต่ละรอบ */
.run-set { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.run-imgs { display: flex; gap: 6px; }
.run-imgs figure { margin: 0; position: relative; cursor: pointer; width: 64px; }
.run-imgs img, .run-imgs figure > div { display: block; width: 64px; height: 40px; object-fit: cover; object-position: top; border-radius: 7px; border: 1px solid var(--line); background: var(--field); }
.run-imgs figure > div { display: grid; place-items: center; color: #b5b5b5; font-size: 16px; border-style: dashed; }
.run-imgs figure:hover img, .run-imgs figure:hover > div { outline: 2px solid #141414; outline-offset: 1px; }
.run-imgs figcaption { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-imgs figure.chg img { border: 2px solid #141414; }
.run-imgs .chg-tag { position: absolute; top: -6px; right: -4px; font-style: normal; font-size: 9px; font-weight: 600; background: #141414; color: #fff; border-radius: 99px; padding: 0 5px; line-height: 15px; }
