.lm-widget *,
.lm-widget *::before,
.lm-widget *::after {
box-sizing: border-box;
}
.lm-widget {
display: flex;
align-items: flex-start;
gap: 16px;
font-family: var(--lm-font);
color: var(--lm-text);
background: var(--lm-bg);
min-height: 200px;
position: relative;
}
.lm-panel {
flex-shrink: 0;
width: 72px;
display: flex;
flex-direction: column;
gap: 4px;
position: sticky;
top: 16px;
max-height: calc(100vh - 32px);
overflow-y: auto;
padding: 4px 0;
scrollbar-width: thin;
scrollbar-color: var(--lm-border) transparent;
}
.lm-panel:focus {
outline: none;
}
.lm-panel-btn {
width: 64px;
height: 40px;
background: var(--lm-surface);
color: var(--lm-muted);
border: 1px solid var(--lm-border);
border-radius: var(--lm-radius);
font-family: var(--lm-font);
font-size: 0.75rem;
font-weight: 600;
cursor: pointer;
transition: background 0.15s, color 0.15s, border-color 0.15s;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
line-height: 1.1;
}
.lm-panel-btn:hover {
background: var(--lm-border);
color: var(--lm-text);
}
.lm-panel-btn:focus-visible {
outline: 2px solid var(--lm-accent);
outline-offset: 2px;
}
.lm-panel-btn[aria-pressed="true"] {
background: var(--lm-accent);
color: var(--lm-bg);
border-color: var(--lm-accent);
font-weight: 700;
}
.lm-panel-btn .lm-btn-label {
font-size: 0.6rem;
opacity: 0.7;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.lm-panel-btn .lm-btn-num {
font-size: 1rem;
font-weight: 700;
}
.lm-panel-btn[aria-pressed="true"] .lm-btn-label {
opacity: 0.8;
}
.lm-main {
flex: 1;
min-width: 0;
max-width: 100%;
display: flex;
flex-direction: column;
gap: 20px;
}
.lm-loading {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 48px 24px;
color: var(--lm-muted);
font-size: 0.9rem;
}
.lm-spinner {
width: 24px;
height: 24px;
border: 3px solid var(--lm-border);
border-top-color: var(--lm-accent);
border-radius: 50%;
animation: lm-spin 0.8s linear infinite;
}
@keyframes lm-spin {
to { transform: rotate(360deg); }
}
.lm-error {
padding: 24px;
background: var(--lm-surface);
border: 1px solid var(--lm-down);
border-radius: var(--lm-radius);
color: var(--lm-down);
font-size: 0.9rem;
}
.lm-banner-partial {
padding: 10px 16px;
background: color-mix(in srgb, var(--lm-accent) 15%, transparent);
border: 1px solid var(--lm-accent);
border-radius: var(--lm-radius);
color: var(--lm-accent);
font-size: 0.85rem;
font-weight: 600;
}
.lm-section-title {
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--lm-muted);
margin: 0 0 8px;
}
.lm-matches-section {
background: var(--lm-surface);
border-radius: var(--lm-radius);
border: 1px solid var(--lm-border);
overflow: hidden;
}
.lm-matches-section-header {
padding: 12px 16px 8px;
border-bottom: 1px solid var(--lm-border);
}
.lm-matches-wrap {
overflow-x: auto;
}
.lm-matches-table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
white-space: nowrap;
}
.lm-matches-table th {
padding: 8px 12px;
text-align: left;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--lm-muted);
border-bottom: 1px solid var(--lm-border);
background: var(--lm-surface);
}
.lm-matches-table th.lm-col-result {
text-align: center;
}
.lm-matches-table td {
padding: 9px 12px;
border-bottom: 1px solid color-mix(in srgb, var(--lm-border) 50%, transparent);
}
.lm-matches-table tr:last-child td {
border-bottom: none;
}
.lm-matches-table tr:hover td {
background: color-mix(in srgb, var(--lm-border) 30%, transparent);
}
.lm-col-slot {
color: var(--lm-muted);
font-size: 0.8rem;
width: 52px;
}
.lm-slot-pleno {
display: flex;
flex-direction: column;
gap: 2px;
}
.lm-pleno-label {
font-size: 0.6rem;
color: var(--lm-accent);
white-space: nowrap;
}
.lm-col-home,
.lm-col-away {
color: var(--lm-text);
}
.lm-col-result {
text-align: center;
width: 64px;
}
.lm-badge-result {
display: inline-block;
min-width: 32px;
padding: 3px 8px;
background: var(--lm-accent);
color: var(--lm-bg);
border-radius: 4px;
font-size: 0.85rem;
font-weight: 800;
text-align: center;
}
.lm-badge-result.lm-no-result {
background: var(--lm-border);
color: var(--lm-muted);
font-weight: 400;
font-size: 0.75rem;
}
.lm-stats-card {
background: var(--lm-surface);
border: 1px solid var(--lm-border);
border-radius: var(--lm-radius);
padding: 16px;
}
.lm-stats-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
}
.lm-stat-item {
text-align: center;
padding: 12px 8px;
background: var(--lm-bg);
border-radius: calc(var(--lm-radius) - 2px);
border: 1px solid var(--lm-border);
}
.lm-stat-value {
font-size: 1.5rem;
font-weight: 800;
color: var(--lm-text);
line-height: 1.1;
}
.lm-stat-label {
font-size: 0.65rem;
color: var(--lm-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-top: 4px;
}
.lm-top10-section {
background: var(--lm-surface);
border: 1px solid var(--lm-border);
border-radius: var(--lm-radius);
overflow: hidden;
}
.lm-top10-header {
padding: 12px 16px 8px;
border-bottom: 1px solid var(--lm-border);
}
.lm-top10-table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
}
.lm-top10-table th {
padding: 8px 12px;
text-align: left;
font-size: 0.65rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--lm-muted);
border-bottom: 1px solid var(--lm-border);
}
.lm-top10-table td {
padding: 9px 12px;
border-bottom: 1px solid color-mix(in srgb, var(--lm-border) 50%, transparent);
vertical-align: middle;
}
.lm-top10-table tr:last-child td {
border-bottom: none;
}
.lm-top10-table tr:nth-child(-n+3) td:first-child {
color: var(--lm-accent);
font-weight: 800;
}
.lm-col-pos {
width: 40px;
font-weight: 700;
color: var(--lm-muted);
font-variant-numeric: tabular-nums;
}
.lm-col-nick {
font-weight: 500;
}
.lm-col-score {
text-align: right;
font-variant-numeric: tabular-nums;
font-weight: 700;
}
.lm-col-movement {
width: 72px;
text-align: right;
}
.lm-pleno-icon {
color: var(--lm-accent);
}
.lm-mv {
display: inline-flex;
align-items: center;
gap: 2px;
font-size: 0.72rem;
font-weight: 700;
padding: 2px 6px;
border-radius: 4px;
white-space: nowrap;
}
.lm-mv-up { background: color-mix(in srgb, var(--lm-up) 20%, transparent); color: var(--lm-up); }
.lm-mv-down { background: color-mix(in srgb, var(--lm-down) 20%, transparent); color: var(--lm-down); }
.lm-mv-eq { background: color-mix(in srgb, var(--lm-equal) 20%, transparent); color: var(--lm-equal); }
.lm-mv-new { background: color-mix(in srgb, var(--lm-new) 20%, transparent); color: var(--lm-new); }
.lm-general-link {
display: block;
text-align: center;
padding: 12px;
color: var(--lm-accent);
font-size: 0.85rem;
font-weight: 600;
border-top: 1px solid var(--lm-border);
text-decoration: none;
transition: background 0.15s;
}
.lm-general-link:hover {
background: color-mix(in srgb, var(--lm-accent) 8%, transparent);
}
.lm-general-link:focus-visible {
outline: 2px solid var(--lm-accent);
outline-offset: -2px;
}
.lm-top10-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
@media (max-width: 640px) {
.lm-widget {
flex-direction: column;
gap: 12px;
}
.lm-panel {
width: 100%;
flex-direction: row;
position: static;
max-height: none;
overflow-x: auto;
overflow-y: hidden;
padding: 4px;
gap: 6px;
scrollbar-width: thin;
}
.lm-panel-btn {
flex-shrink: 0;
width: 52px;
height: 44px;
}
.lm-top10-row {
grid-template-columns: 1fr;
}
.lm-stats-grid {
grid-template-columns: repeat(3, 1fr);
}
.lm-pleno-label {
white-space: normal;
}
}
@media (min-width: 641px) and (max-width: 900px) {
.lm-top10-row {
grid-template-columns: 1fr;
}
}