.lg-shell,
.lg-tip {
    --lg-panel: #25272c;
    --lg-panel-2: #2c2f35;
    --lg-line: rgba(255, 255, 255, 0.07);
    --lg-grid: rgba(255, 255, 255, 0.06);
    --lg-gold: #ffcf6b;
    --lg-crit: #f0a35c;
    --lg-heal: #57c98a;
}

html:has(.lg-shell) {
    scrollbar-gutter: stable;
}

#lg-body {
    display: flow-root;
}

.lg-shell {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    color: var(--text-primary);
}

.lg-intro[hidden],
.lg-app[hidden],
.lg-status[hidden],
.lg-panel[hidden],
.lg-subhead[hidden],
.lg-table-wrap[hidden],
.lg-tip[hidden] {
    display: none;
}

.lg-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 680px;
    margin: 24px auto;
    padding: 48px 24px;
    border: 1px dashed rgba(255, 207, 107, 0.35);
    border-radius: var(--radius-lg);
    background: var(--lg-panel);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.lg-drop:hover,
.lg-dragging .lg-drop {
    border-color: rgba(255, 207, 107, 0.8);
    background: var(--lg-panel-2);
}

.lg-drop-icon {
    width: 96px;
    height: 96px;
}

.lg-drop h1 {
    font-size: 1.35rem;
    font-weight: 700;
}

.lg-drop p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.lg-drop .lg-path {
    font-size: 0.8rem;
    color: var(--text-muted);
    word-break: break-all;
}

.lg-drop code {
    font: 12px/1.4 ui-monospace, Consolas, monospace;
    color: var(--text-secondary);
}

.lg-drop .lg-patcher {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lg-gold);
    text-decoration: none;
}

.lg-drop .lg-patcher:hover {
    text-decoration: underline;
}

.lg-drop #lg-path {
    cursor: pointer;
    padding: 1px 4px;
    border-radius: 4px;
}

.lg-drop #lg-path:hover,
.lg-drop #lg-path:focus-visible {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    outline: none;
}

.lg-drop .lg-private {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.lg-btn {
    padding: 6px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
}

.lg-btn:hover {
    color: var(--text-primary);
}

.lg-btn-push {
    padding: 8px 20px;
    border-color: rgba(255, 207, 107, 0.45);
    color: var(--lg-gold);
}

.lg-status {
    max-width: 680px;
    margin: 12px auto;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--lg-panel);
    color: var(--text-secondary);
    text-align: center;
}

.lg-status.is-error {
    color: var(--danger);
}

.lg-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--lg-panel);
}

.lg-head-main {
    min-width: 0;
    flex: 1;
}

.lg-head-title {
    font-size: 1.15rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.lg-head-sub {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.lg-dot {
    color: var(--text-muted);
}

.lg-head-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lg-notes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.lg-note {
    padding: 6px 12px;
    border-left: 3px solid var(--warning);
    border-radius: 4px;
    background: rgba(250, 166, 26, 0.08);
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.lg-note a {
    color: var(--lg-gold);
}

.lg-tab:focus,
.lg-tab:focus-visible {
    outline: none;
}

.lg-range-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    min-height: 32px;
    margin-bottom: 6px;
}

.lg-strip {
    padding: 10px 16px 6px;
}

.lg-strip .lg-range-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    height: 32px;
    min-height: 32px;
    margin-bottom: 2px;
}

.lg-range-slot {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    height: 32px;
}

.lg-range-slot .lg-range-bar {
    height: 30px;
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
}

.lg-strip-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.lg-range-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 3px 4px 3px 12px;
    border: 1px solid rgba(255, 207, 107, 0.35);
    border-radius: var(--radius);
    background: rgba(255, 207, 107, 0.08);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

#lg-body > .lg-range-bar {
    margin-bottom: 12px;
}

.lg-range-bar b {
    color: var(--lg-gold);
}

.lg-range-reset {
    padding: 3px 10px;
    font-size: 0.78rem;
}

.lg-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.lg-count {
    margin-left: auto;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.lg-dd {
    position: relative;
}

.lg-dd-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 190px;
    max-width: 320px;
    min-height: 36px;
    padding: 5px 34px 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #25272b;
    color: var(--text-primary);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lg-dd-trigger:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: #2c2f34;
}

.lg-dd-trigger[aria-expanded="true"] {
    border-color: #b79760;
}

.lg-dd-trigger:focus-visible,
.lg-dd-option:focus-visible {
    outline: 2px solid #b79760;
    outline-offset: 2px;
}

.lg-dd-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.lg-dd-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.lg-dd-value > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-dd-chevron {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.16s ease;
}

.lg-dd-trigger[aria-expanded="true"] .lg-dd-chevron {
    transform: translateY(-30%) rotate(-135deg);
}

.lg-dd-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    display: grid;
    gap: 2px;
    width: max-content;
    min-width: 100%;
    max-width: min(420px, 90vw);
    max-height: 340px;
    margin: 0;
    padding: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    list-style: none;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.lg-dd-menu[hidden] {
    display: none;
}

.lg-dd-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.lg-dd-option > span:first-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-dd-option:hover {
    background: #2c2f34;
    color: var(--text-primary);
}

.lg-dd-option[aria-selected="true"] {
    background: color-mix(in srgb, #b79760 22%, #25272b);
    color: var(--text-primary);
}

.lg-dd-count {
    margin-left: auto;
    padding-left: 12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.lg-ev-scroll {
    max-height: min(70vh, 760px);
    overflow: auto;
    border-top: 1px solid var(--border-color);
}

.lg-table.is-events {
    table-layout: fixed;
    min-width: 1100px;
}

.lg-table.is-events thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--lg-panel);
}

.lg-table.is-events col.c-time {
    width: 84px;
}

.lg-table.is-events col.c-source {
    width: 170px;
}

.lg-table.is-events col.c-ability {
    width: 240px;
}

.lg-table.is-events col.c-stack {
    width: 70px;
}

.lg-table.is-events col.c-amount {
    width: 130px;
}

.lg-table.is-events col.c-element {
    width: 80px;
}

.lg-elem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: default;
}

.lg-table.is-events col.c-tag {
    width: 130px;
}

.lg-table.is-events th:nth-child(5),
.lg-table.is-events td:nth-child(5) {
    padding-right: 24px;
}

.lg-table.is-events tr.lg-ev-row td {
    height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-table.is-events tr.lg-ev-spacer td {
    padding: 0;
    border: 0;
}

.lg-table.is-events tr.is-in td {
    background: rgba(237, 66, 69, 0.04);
}

.lg-tag.is-crit,
.lg-amt.is-crit {
    color: var(--lg-crit);
}

.lg-tag.is-heal,
.lg-amt.is-heal {
    color: var(--lg-heal);
}

.lg-tag.is-avoid,
.lg-amt.is-avoid {
    color: var(--text-muted);
}

.lg-tag.is-buff {
    color: #8fb8f0;
}

.lg-tag.is-cast {
    color: var(--lg-gold);
}

.lg-tag.is-death {
    color: var(--danger);
}

.lg-amt {
    font-variant-numeric: tabular-nums;
}

.lg-tabs {
    position: sticky;
    top: var(--sticky-header-height, 0px);
    z-index: 20;
    display: flex;
    gap: 4px;
    margin: 12px 0;
    padding: 6px 0;
    overflow-x: auto;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.lg-tab {
    flex: 0 0 auto;
    padding: 7px 14px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.lg-tab:hover {
    color: var(--text-primary);
}

.lg-tab.is-active {
    background: var(--lg-panel-2);
    color: var(--lg-gold);
}

.lg-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.lg-tiles.is-inner {
    margin: 4px 0 0;
}

.lg-tile {
    padding: 12px 14px;
    border: 1px solid var(--lg-line);
    border-radius: var(--radius);
    background: var(--lg-panel);
}

.lg-tile-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lg-tile-value {
    margin-top: 4px;
    font-size: 1.45rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lg-tiles.is-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 26px;
    margin: 2px 2px 4px;
}

.lg-tiles.is-inline .lg-tile {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 0;
    border: 0;
    background: none;
}

.lg-tiles.is-inline .lg-tile-value {
    margin-top: 0;
    font-size: 1.05rem;
}

.lg-tiles.is-inline .lg-tile-sub {
    margin-top: 0;
}

.lg-tile-sub {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-panel {
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid var(--lg-line);
    border-radius: var(--radius-lg);
    background: var(--lg-panel);
    min-width: 0;
}

.lg-panel-title {
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lg-panel-sub {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lg-subhead {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 6px;
    font-weight: 600;
}

.lg-subhead:first-child {
    margin-top: 0;
}

.lg-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lg-grid2 > .lg-panel {
    margin-bottom: 12px;
}

.lg-lead {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.lg-empty-note {
    padding: 16px 0;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.88rem;
}

.lg-small {
    margin-top: 8px;
    font-size: 0.8rem;
}

.is-muted {
    color: var(--text-muted);
}

.lg-ic {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 6px;
    object-fit: contain;
}

.lg-ic.is-sm {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.lg-ic.is-xs {
    width: 18px;
    height: 18px;
}

.lg-ic.is-job {
    width: 52px;
    height: 52px;
    border-radius: 10px;
}

.lg-neutral {
    position: relative;
    display: inline-block;
    color: var(--text-secondary);
}

.lg-neutral::before,
.lg-neutral::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
}

.lg-neutral::before {
    width: 12px;
    height: 12px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.lg-neutral::after {
    width: 17px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lg-noimg {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--lg-line);
}

.lg-name,
.lg-src {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lg-name > span,
.lg-src > span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-src {
    color: var(--text-secondary);
}

.lg-sub {
    display: block;
    max-width: 260px;
    color: var(--text-muted);
    font-size: 0.74rem;
    white-space: normal;
}

.lg-name[data-tip] {
    cursor: default;
}

.lg-tag {
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.lg-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lg-row {
    display: grid;
    grid-template-columns: minmax(120px, 1.2fr) minmax(80px, 2fr) 64px 56px;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.lg-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.lg-bar {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.lg-bar i {
    display: block;
    height: 100%;
    border-radius: 4px;
}

.lg-stack {
    display: flex;
    gap: 2px;
    height: 18px;
    border-radius: 6px;
    overflow: hidden;
}

.lg-stack i {
    min-width: 2px;
}

.lg-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 8px 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.lg-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lg-legend-item i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.lg-legend-item i.is-tick {
    width: 2px;
    height: 12px;
    border-radius: 1px;
}

.lg-legend-item i.is-line {
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: var(--lg-gold);
}

.lg-legend-item b {
    color: var(--text-primary);
}

.lg-chart {
    width: 100%;
    overflow: hidden;
}

.lg-svg {
    display: block;
}

.lg-svg .lg-grid {
    stroke: var(--lg-grid);
    stroke-width: 1;
}

.lg-svg .lg-base {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
}

.lg-svg .lg-sep {
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1;
}

.lg-svg .lg-axis {
    fill: var(--text-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.lg-svg .lg-line {
    fill: none;
    stroke: var(--lg-gold);
    stroke-width: 2;
    stroke-linejoin: round;
}

.lg-svg .lg-cross {
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1;
}

.lg-svg .lg-hover-col {
    fill: rgba(255, 255, 255, 0.07);
}

.lg-svg .lg-hit {
    fill: transparent;
    cursor: default;
}

.lg-selectable {
    touch-action: pan-y;
    user-select: none;
}

.lg-selectable .lg-hit {
    cursor: crosshair;
}

.lg-brush {
    fill: rgba(255, 207, 107, 0.16);
    stroke: var(--lg-gold);
    stroke-width: 1;
    pointer-events: none;
}

.lg-brush-label {
    fill: var(--lg-gold);
    stroke: var(--lg-panel);
    stroke-width: 4px;
    paint-order: stroke;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
}

.lg-spark {
    display: block;
}

.lg-spark path {
    fill: none;
    stroke: var(--lg-gold);
    stroke-width: 1.5;
}

.lg-spark-cell {
    width: 132px;
}

.lg-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.lg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.lg-table th {
    padding: 6px 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.lg-table td {
    padding: 7px 10px;
    border-bottom: 1px solid var(--lg-line);
    vertical-align: middle;
    white-space: nowrap;
}

.lg-table tbody tr:last-child td {
    border-bottom: 0;
}

.lg-table .is-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lg-table.is-click tbody tr.lg-tr {
    cursor: pointer;
}

.lg-table.is-click tbody tr.lg-tr:hover td,
.lg-table tbody tr.lg-tr.is-open td {
    background: rgba(255, 255, 255, 0.03);
}

.lg-sort {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.lg-sort:hover {
    color: var(--text-primary);
}

.lg-sort.is-desc::after {
    content: " ▾";
}

.lg-sort.is-asc::after {
    content: " ▴";
}

.lg-cellbar {
    display: inline-grid;
    grid-template-columns: 90px auto auto;
    align-items: center;
    gap: 8px;
}

.lg-cellbar > span:nth-child(2) {
    min-width: 46px;
}

.lg-cellbar > span:nth-child(3) {
    min-width: 46px;
    font-size: 0.78rem;
}

.lg-table.is-buffs td:first-child {
    max-width: 240px;
}

.lg-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lg-panel-head .lg-panel-title {
    margin-bottom: 0;
}

.lg-search {
    width: 180px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font: inherit;
    font-size: 0.82rem;
}

.lg-search:focus {
    outline: none;
    border-color: var(--lg-gold);
}

.lg-gantt-head {
    min-width: 260px;
    width: 40%;
}

.lg-gantt-cell {
    min-width: 260px;
}

.lg-gantt,
.lg-gantt-axis {
    position: relative;
    display: block;
    width: 100%;
}

.lg-gantt {
    height: 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
}

.lg-gantt i {
    position: absolute;
    top: 2px;
    bottom: 2px;
    border-radius: 3px;
    cursor: default;
}

.lg-gantt i.is-stack {
    border-radius: 0;
}

.lg-gantt i.is-tick {
    width: 2px;
    top: 1px;
    bottom: 1px;
    margin-left: -1px;
    border-radius: 1px;
}

.lg-gantt b {
    position: absolute;
    top: -2px;
    bottom: -2px;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.lg-gantt-axis {
    height: 14px;
}

.lg-gantt-axis span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 400;
}

.lg-gantt-axis span:first-child {
    transform: none;
}

.lg-attr-group + .lg-attr-group {
    margin-top: 14px;
}

.lg-attr-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 4px 18px;
}

.lg-attr {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--lg-line);
    font-size: 0.85rem;
}

.lg-attr span {
    flex: 1;
    color: var(--text-secondary);
}

.lg-attr b {
    font-variant-numeric: tabular-nums;
}

.lg-tip {
    position: fixed;
    z-index: 1000;
    max-width: 320px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #1b1d21;
    box-shadow: var(--shadow);
    color: var(--text-primary);
    font-size: 0.8rem;
    pointer-events: none;
}

.lg-tip-title {
    margin-bottom: 4px;
    font-weight: 600;
}

.lg-tip-desc {
    color: var(--text-secondary);
    line-height: 1.4;
}

.lg-tip-id {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.lg-svg .lg-marker {
    fill: var(--lg-panel);
    stroke: var(--lg-gold);
    stroke-width: 1.5;
    pointer-events: none;
}

.lg-svg .lg-marker.is-hot {
    fill: var(--lg-gold);
}

.lg-tip-buff {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.lg-tip-buff em {
    margin-left: auto;
    padding-left: 10px;
    color: var(--text-secondary);
    font-style: normal;
    font-size: 0.74rem;
    white-space: nowrap;
}

.lg-tip-desc.is-indent {
    padding-left: 24px;
    font-size: 0.74rem;
}

.lg-tip-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 180px;
}

.lg-tip-row i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex: 0 0 auto;
}

.lg-tip-row span {
    flex: 1;
    color: var(--text-secondary);
}

.lg-tip-row b {
    font-variant-numeric: tabular-nums;
}

.lg-tip-row.is-total {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .lg-grid2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .lg-head {
        flex-wrap: wrap;
    }

    .lg-head-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .lg-row {
        grid-template-columns: minmax(100px, 1fr) minmax(60px, 1fr) 64px;
    }

    .lg-row > :last-child {
        display: none;
    }
}

