@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Nunito:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap");

/*
Theme Name: LottoMétrica AI
Theme URI: https://alertasloteria.com/
Author: Alertas Lotería
Description: LottoMétrica AI, sitio de consulta de sorteos y análisis descriptivo.
Version: 1.3.12
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: lotto-metrica
*/

:root {
  color-scheme: light;
  --lm-navy: #0f2a8f;
  --lm-navy-deep: #0a2078;
  --lm-ink: #0f2a8f;
  --lm-text: #1b2f7a;
  --lm-orange: #ff6a00;
  --lm-orange-dark: #e55a00;
  --lm-yellow: #ffb400;
  --lm-blue: #1668ff;
  --lm-green: #0fae3f;
  --lm-teal: #00a5b5;
  --lm-border: #c4d4ff;
  --lm-muted: #3f58b0;
  --lm-font: "Outfit", "Nunito", system-ui, sans-serif;
  --lm-radius: 18px;
}

* { box-sizing: border-box; }
html { background: #fff; scroll-behavior: smooth; }
body { margin: 0; color: var(--lm-text); background: #fff; font-family: var(--lm-font); font-weight: 500; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--lm-font); font-weight: 600; color: var(--lm-navy); }
#lottometrica-root { min-height: 100vh; }

.lm-shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.lm-sidebar { background: var(--lm-navy); color: #fff; padding: 26px 17px; display: flex; flex-direction: column; gap: 28px; }
.lm-brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.lm-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lm-orange); color: #fff; font-size: 17px; font-weight: 700; }
.lm-nav { display: grid; gap: 6px; }
.lm-nav a { padding: 11px 14px; border-radius: 999px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; transition: background .16s ease; }
.lm-nav a:hover { background: rgba(255,255,255,.18); }
.lm-nav a[aria-current="page"] { background: var(--lm-orange); }

.lm-main { min-width: 0; padding: 28px clamp(20px, 4vw, 58px) 38px; background: #fff; }
.lm-topbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; max-width: 1040px; margin: 0 auto 18px; }
.lm-top-link { padding: 8px 14px; border: 1px solid var(--lm-border); border-radius: 999px; color: var(--lm-navy); font-size: 13px; font-weight: 600; text-decoration: none; }
.lm-top-link:hover { border-color: var(--lm-orange); }
.lm-language { display: flex; gap: 6px; }
.lm-language a { padding: 7px 12px; border: 1px solid var(--lm-border); border-radius: 999px; color: var(--lm-navy); text-decoration: none; font-size: 12px; font-weight: 700; }
.lm-language a[aria-current="true"] { background: var(--lm-orange); border-color: var(--lm-orange); color: #fff; }

.lm-page-head { max-width: 1040px; margin: 0 auto 26px; }
.lm-page-head h1 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -.01em; }
.lm-page-head p { max-width: 750px; margin: 0; color: var(--lm-muted); line-height: 1.65; }
.lm-content { max-width: 1040px; margin: 0 auto; }
.lm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lm-card { border: 1px solid var(--lm-border); border-radius: var(--lm-radius); background: #fff; box-shadow: 0 2px 10px rgba(15,42,143,.07); }

.lm-game-card { min-height: 170px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-top: 4px solid var(--lm-orange); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.lm-game-card:nth-child(6n+2) { border-top-color: var(--lm-blue); }
.lm-game-card:nth-child(6n+3) { border-top-color: var(--lm-green); }
.lm-game-card:nth-child(6n+4) { border-top-color: var(--lm-teal); }
.lm-game-card:nth-child(6n+5) { border-top-color: var(--lm-yellow); }
.lm-game-card:nth-child(6n) { border-top-color: var(--lm-navy); }
.lm-game-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22,104,255,.18); }
.lm-game-card:focus-visible, .lm-button:focus-visible, .lm-nav a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--lm-yellow); outline-offset: 3px; }
.lm-game-country { color: var(--lm-muted); font-size: 13px; font-weight: 600; }
.lm-game-name { margin: 8px 0; font-size: 24px; }
.lm-game-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--lm-muted); font-size: 13px; }

.lm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--lm-orange); color: #fff; text-decoration: none; font-weight: 700; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.lm-button:hover { background: var(--lm-orange-dark); transform: translateY(-1px); }
.lm-button:disabled { opacity: .6; cursor: not-allowed; }
.lm-button-secondary { border: 1px solid var(--lm-border); background: #fff; color: var(--lm-navy); }
.lm-game-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.lm-main > .lm-game-switcher { max-width: 1120px; margin: 0 auto 24px; }
.lm-game-switcher a { padding: 9px 15px; border: 1px solid var(--lm-border); border-radius: 999px; color: var(--lm-navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.lm-game-switcher a[aria-current="page"] { background: var(--lm-orange); border-color: var(--lm-orange); color: #fff; }

.lm-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 16px; margin: 16px 0; }
.lm-field { display: grid; gap: 6px; min-width: 145px; color: var(--lm-navy); font-size: 13px; font-weight: 600; }
.lm-field select, .lm-field input, .lm-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--lm-border); border-radius: 12px; background: #fff; color: var(--lm-text); font-size: 14px; font-weight: 500; }
.lm-field textarea { min-height: 150px; resize: vertical; }
.lm-control-wide { min-width: 200px; }

.lm-draw-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border-left: 6px solid var(--lm-orange); }
.lm-draw-heading h2 { margin: 4px 0 0; font-size: 28px; }
.lm-modalities { display: grid; gap: 14px; margin-top: 16px; }
.lm-modality { padding: 20px; }
.lm-modality h3 { margin: 0 0 14px; font-size: 21px; }
.lm-pool { padding: 12px 0; border-top: 1px solid var(--lm-border); }
.lm-pool-label { margin-bottom: 10px; color: var(--lm-muted); font-size: 13px; font-weight: 600; }
.lm-balls { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-ball { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--lm-yellow); color: #fff; font-weight: 700; }
.lm-ball:nth-child(6n+2) { background: var(--lm-orange); }
.lm-ball:nth-child(6n+3) { background: var(--lm-teal); }
.lm-ball:nth-child(6n+4) { background: var(--lm-blue); }
.lm-ball:nth-child(6n+5) { background: var(--lm-green); }
.lm-ball:nth-child(6n) { background: var(--lm-navy); }

.lm-data-note, .lm-warning { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--lm-border); border-left: 4px solid var(--lm-orange); line-height: 1.55; }
.lm-data-note { margin-top: 14px; font-size: 14px; }
.lm-data-note.lm-data-warning { display: flex; align-items: flex-start; gap: 10px; }
.lm-warning { display: flex; align-items: flex-start; gap: 12px; margin: 26px auto 0; max-width: 1040px; font-size: 14px; }
.lm-warning strong { color: var(--lm-orange-dark); }
.lm-warning-icon { display: block; width: 22px; height: 22px; flex: 0 0 22px; color: var(--lm-orange); }
.lm-data-note .lm-warning-icon { width: 19px; height: 19px; flex-basis: 19px; }

.lm-table-wrap { overflow-x: auto; }
.lm-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.lm-table th, .lm-table td { padding: 12px 10px; border-bottom: 1px solid var(--lm-border); text-align: left; white-space: nowrap; }
.lm-table th.lm-numeric, .lm-table td.lm-numeric { text-align: right; }
.lm-table th, .lm-prize-table th { color: var(--lm-muted); font-size: 13px; font-weight: 600; }
.lm-sort { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.lm-sort-indicator { margin-left: 3px; color: #a1a5ad; font-weight: 700; }
.lm-sort-indicator.is-active { color: var(--lm-orange); }
.lm-table th.lm-numeric .lm-sort { text-align: right; }
.lm-interval-difference { font-variant-numeric: tabular-nums; font-weight: 700; }
.lm-interval-difference.is-negative { color: #b34034; }
.lm-interval-difference.is-positive { color: #465264; }
.lm-interval-difference.is-zero, .lm-interval-difference.is-unavailable { color: #717681; }
.lm-interval-note { margin: 10px 13px 13px; color: var(--lm-muted); font-size: 11px; line-height: 1.5; white-space: normal; }
.lm-prize-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.lm-prize-table th, .lm-prize-table td { padding: 10px; border-bottom: 1px solid var(--lm-border); text-align: left; }
.lm-frequency { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.lm-frequency-track { height: 8px; flex: 1; overflow: hidden; border-radius: 999px; background: var(--lm-border); }
.lm-frequency-fill { height: 100%; border-radius: inherit; background: var(--lm-teal); }
.lm-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.lm-stat { padding: 16px; }
.lm-stat strong { display: block; margin-top: 6px; font-size: 24px; font-weight: 600; color: var(--lm-blue); }
.lm-stat span { color: var(--lm-muted); font-size: 13px; }

.lm-ad-slot[hidden] { display: none !important; }
.lm-footer { max-width: 1040px; margin: 22px auto 0; padding: 18px 0 0; border-top: 1px solid var(--lm-border); color: var(--lm-muted); font-size: 13px; line-height: 1.7; }
.lm-footer strong { color: var(--lm-navy); }
.lm-footer a, .lm-link { color: var(--lm-blue); font-weight: 600; text-underline-offset: 3px; }

.lm-empty, .lm-error, .lm-loading { padding: 24px; border: 1px dashed var(--lm-border); border-radius: var(--lm-radius); background: #fff; color: var(--lm-muted); }
.lm-error { color: #d12b1f; border-color: #d12b1f; }
.lm-loading:before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 9px; border: 2px solid var(--lm-border); border-top-color: var(--lm-orange); border-radius: 50%; animation: lm-spin .8s linear infinite; vertical-align: -2px; }
@keyframes lm-spin { to { transform: rotate(360deg); } }
.lm-contact-form { display: grid; gap: 14px; max-width: 700px; }
.lm-results { display: grid; gap: 10px; margin-top: 14px; }
.lm-lab-settings { padding: 16px 18px; margin: 16px 0; border-left: 4px solid var(--lm-orange); }
.lm-lab-settings summary { color: var(--lm-navy); font-weight: 700; cursor: pointer; }
.lm-lab-settings > p { margin: 10px 0 0; }
.lm-lab-settings .lm-controls { padding: 12px 0 0; margin: 0; }
.lm-lab-layout { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: start; gap: 14px; }
.lm-lab-form, .lm-lab-output { min-width: 0; padding: 16px; }
.lm-lab-heading { margin-bottom: 14px; }
.lm-lab-heading > span { color: var(--lm-orange); font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.lm-lab-heading p { margin: 6px 0 0; color: var(--lm-muted); font-size: 12px; }
.lm-lab-options { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; }
.lm-lab-restrictions { min-width: 0; margin: 0 0 14px; padding: 12px; border: 1px solid var(--lm-border); border-radius: 12px; }
.lm-lab-restrictions legend { padding: 0 5px; color: var(--lm-navy); font-size: 13px; font-weight: 700; }
.lm-lab-restriction-list { display: grid; gap: 9px; }
.lm-lab-restriction { display: grid; grid-template-columns: 17px minmax(0, 1fr); align-items: start; gap: 9px; color: var(--lm-text); font-size: 12px; cursor: pointer; }
.lm-lab-restriction input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--lm-orange); }
.lm-lab-restriction span { display: grid; gap: 2px; }
.lm-lab-restriction strong { color: var(--lm-navy); font-weight: 600; }
.lm-lab-restriction small { color: var(--lm-muted); font-size: 11px; line-height: 1.4; }
.lm-lab-restrictions > .lm-small { margin: 10px 0 0; line-height: 1.45; }
.lm-lab-number-field { margin-top: 13px; }
.lm-lab-number-label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--lm-navy); font-size: 12px; }
.lm-lab-number-label span { color: var(--lm-muted); font-variant-numeric: tabular-nums; }
.lm-lab-number-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(33px, 1fr)); gap: 5px; padding: 2px; }
.lm-lab-number { min-height: 30px; padding: 3px; border: 1px solid var(--lm-border); border-radius: 50%; background: #fff; color: var(--lm-navy); font: inherit; font-size: 11px; cursor: pointer; }
.lm-lab-number:hover, .lm-lab-number:focus-visible { border-color: var(--lm-orange); outline: 2px solid color-mix(in srgb, var(--lm-orange) 28%, transparent); }
.lm-lab-number.selected { border-color: var(--lm-orange); background: var(--lm-orange); color: #fff; }
.lm-lab-number.excluded { border-color: var(--lm-navy); background: var(--lm-navy); color: #fff; }
.lm-lab-number:disabled { cursor: not-allowed; opacity: .45; }
.lm-lab-form > .lm-button { width: 100%; margin-top: 14px; }
.lm-lab-form > .lm-button:disabled { cursor: not-allowed; opacity: .55; }
.lm-lab-output-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--lm-border); }
.lm-lab-output-heading h2 { margin: 0; color: var(--lm-navy); font-size: 20px; }
.lm-lab-error { color: #9b321b; }
.lm-lab-applied { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--lm-border); border-left: 3px solid var(--lm-orange); border-radius: 10px; background: #fffaf6; color: var(--lm-text); font-size: 12px; line-height: 1.5; }
.lm-lab-applied small { display: block; margin-top: 4px; color: var(--lm-muted); }
@media (max-width: 850px) {
  .lm-lab-layout { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .lm-lab-options { grid-template-columns: 1fr; }
}
.lm-result { padding: 14px 16px; }
.lm-small { color: var(--lm-muted); font-size: 13px; }
.lm-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.lm-inline-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.lm-prose { padding: clamp(20px, 4vw, 36px); line-height: 1.75; }
.lm-prose h2 { margin: 24px 0 6px; font-size: 21px; }
.lm-prose h2:first-child { margin-top: 0; }
.lm-status { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: var(--lm-green); color: #fff; font-size: 12px; font-weight: 700; }
.lm-status[data-status="demo"], .lm-status[data-status="unverified"], .lm-status[data-status="provisional"], .lm-status[data-status="empty"] { background: var(--lm-yellow); color: var(--lm-navy); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 920px) {
  .lm-shell { grid-template-columns: 1fr; }
  .lm-sidebar { padding: 14px 16px 12px; gap: 10px; }
  .lm-nav { display: flex; overflow-x: auto; padding-bottom: 3px; }
  .lm-nav a { flex: 0 0 auto; padding: 9px 13px; }
  .lm-main { padding: 16px; }
}
@media (max-width: 650px) {
  .lm-grid, .lm-stat-grid { grid-template-columns: 1fr; }
  .lm-game-card { min-height: 150px; }
  .lm-page-head h1 { font-size: 32px; }
  .lm-controls > * { flex: 1 1 100%; }
  .lm-draw-heading h2 { font-size: 24px; }
  .lm-main { padding: 20px 16px 30px; }
}

/* Restored LottoMétrica interface: midnight rail, white canvas and orange accents. */
:root {
  --lm-navy: #19253b;
  --lm-navy-deep: #131e32;
  --lm-ink: #202b40;
  --lm-text: #333c4d;
  --lm-orange: #f36a1b;
  --lm-orange-dark: #c94a12;
  --lm-yellow: #f4c542;
  --lm-border: #e4e2df;
  --lm-muted: #858894;
  --lm-font: "Outfit", "Nunito", system-ui, sans-serif;
}
html, body { background: #fff; color: var(--lm-text); }
body { font-family: var(--lm-font); font-weight: 500; }
.lm-shell { min-height: 100dvh; grid-template-columns: 264px minmax(0,1fr); background:#fff; }
.lm-sidebar { position:sticky; top:0; height:100dvh; min-height:620px; padding:27px 18px 24px; gap:0; background:var(--lm-navy); color:#f6f3ed; }
.lm-brand { align-items:center; gap:14px; padding:0 10px; font-size:15px; }
.lm-brand-mark { position:relative; display:block; flex:0 0 32px; width:32px; height:43px; border-radius:55% / 48%; background:#f36a1b; color:transparent; }
.lm-brand-mark:before { content:"L"; position:absolute; left:11px; top:12px; color:#1b273a; font:700 15px/1 var(--lm-font); }
.lm-brand-mark i { position:absolute; width:8px; height:8px; border-radius:50%; right:-2px; top:1px; background:var(--lm-yellow); }
.lm-brand-copy { display:flex; flex-direction:column; gap:5px; min-width:0; }
.lm-brand-copy strong { white-space:nowrap; color:#fff; font-size:15px; font-weight:800; letter-spacing:-.02em; }
.lm-brand-copy small { max-width:125px; color:#d8aaa0; font-size:8px; font-weight:400; letter-spacing:.22em; line-height:1.5; }
.lm-sidebar-body { margin-top:44px; }
.lm-nav-kicker { padding:0 12px 11px; color:#858fa0; font-size:9px; font-weight:800; letter-spacing:.17em; }
.lm-nav { display:grid; gap:4px; }
.lm-nav a { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:8px; color:#c5cad2; font-size:13px; font-weight:500; text-decoration:none; transition:background .16s ease,color .16s ease; }
.lm-nav a:hover { color:#fff; background:rgba(255,255,255,.07); }
.lm-nav a[aria-current="page"] { color:#fff; background:rgba(243,106,27,.18); }
.lm-nav a[aria-current="page"]:before { position:absolute; content:""; width:3px; height:22px; margin-left:-12px; border-radius:0 3px 3px 0; background:var(--lm-orange); }
.lm-nav svg { width:17px; height:17px; flex:0 0 17px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; opacity:.88; }
.lm-about { margin-top:auto; padding:21px 10px 0; border-top:1px solid rgba(255,255,255,.16); }
.lm-about span { color:#d2a28b; font-size:9px; font-weight:800; letter-spacing:.16em; }
.lm-about p { margin:12px 0 0; color:#d2d7df; font-size:11px; font-weight:600; line-height:1.65; }
.lm-main { min-width:0; padding:0 clamp(26px,4vw,62px) 22px; background:#fff; }
.lm-topbar { min-height:75px; max-width:1120px; margin:0 auto 15px; justify-content:flex-end; border-bottom:1px solid #eeecea; }
.lm-top-link { padding:7px 10px; border:0; border-radius:4px; color:#717786; font-size:11px; font-weight:700; }
.lm-top-link:hover { color:var(--lm-orange-dark); background:#f5f6f8; }
.lm-language { display:flex; align-items:center; gap:1px; padding:3px; border:1px solid #dedbd8; border-radius:11px; background:#fff; }
.lm-language a { display:flex; align-items:center; gap:6px; min-height:29px; padding:5px 9px; border:0; border-radius:8px; color:#6c7078; font:600 10px var(--lm-font); text-decoration:none; }
.lm-language a[aria-current="true"] { color:#fff; background:var(--lm-orange); border-color:var(--lm-orange); }
.lm-flag { width:14px; height:10px; border-radius:1.5px; box-shadow:0 0 0 1px rgba(22,28,38,.09); }
.lm-page-head { max-width:1120px; margin:0 auto 30px; }
.lm-page-head h1 { margin:0 0 9px; color:var(--lm-ink); font-size:clamp(35px,4vw,48px); line-height:1.08; font-weight:700; letter-spacing:-.045em; }
.lm-page-head p { max-width:690px; margin:0; color:#737986; font-size:14px; line-height:1.7; }
.lm-content { max-width:1120px; margin:0 auto; }
.lm-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.lm-card { border:1px solid #e0e2e7; border-radius:15px; background:#fff; box-shadow:0 2px 8px rgba(24,35,55,.025); }
.lm-game-card { position:relative; display:grid; min-height:282px; padding:22px 20px; place-items:center; border-top:1px solid #e3e1de; border-left:5px solid var(--lm-orange); overflow:hidden; }
.lm-game-card:nth-child(n) { border-top-color:#e0e2e7; border-left-color:var(--lm-orange); }
.lm-game-card:hover { transform:translateY(-2px); border-color:#dbd8d5; border-left-color:var(--lm-orange); box-shadow:0 12px 25px rgba(25,37,59,.08); }
.lm-game-index { position:absolute; top:20px; left:19px; color:#8d9097; font:11px/1 "DM Mono",monospace; letter-spacing:.08em; }
.lm-game-copy { display:flex; flex-direction:column; align-items:center; gap:11px; text-align:center; }
.lm-game-copy strong { color:#202b40; font-size:clamp(23px,2.4vw,31px); font-weight:750; letter-spacing:-.05em; line-height:1.15; }
.lm-game-copy small { color:#888b91; font:9px/1.3 "DM Mono",monospace; letter-spacing:.12em; text-transform:uppercase; }
.lm-game-action { position:absolute; right:20px; bottom:19px; display:grid; width:43px; height:43px; place-items:center; border-radius:50%; background:var(--lm-navy); color:white; transition:background .16s ease,transform .16s ease; }
.lm-game-action svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.lm-game-card:hover .lm-game-action { background:var(--lm-orange-dark); transform:translateX(2px); }
.lm-game-meta { display:none; }
.lm-safety-footer { max-width:1120px; margin:35px auto 0; padding:18px 0 6px; border-top:1px solid #e8e5e2; display:flex; align-items:center; gap:20px; }
.lm-warning { flex:1; margin:0; padding:0; border:0; background:transparent; color:#777c85; font-size:11px; line-height:1.55; }
.lm-warning strong { color:#777c85; font-weight:700; }
.lm-warning-icon { width:16px; height:16px; flex-basis:16px; }
.lm-warning-copy { display:grid; gap:5px; }
.lm-warning-copy p { margin:0; }
.lm-footer-links { display:flex; align-items:center; gap:18px; flex:0 0 auto; }
.lm-footer-links a { display:inline-flex; align-items:center; gap:5px; color:#ad4a30; font-size:11px; font-weight:700; text-decoration:none; white-space:nowrap; }
.lm-footer-links a:hover { color:#7e301c; text-decoration:underline; text-underline-offset:3px; }
.lm-footer-links svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.lm-stat-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.lm-stat { padding:17px; }
.lm-stat strong { color:var(--lm-orange-dark); }
.lm-table-wrap { overflow-x:auto; border-radius:12px; }
.lm-table { width:96%; min-width:min(100%,920px); max-width:100%; table-layout:auto; margin-inline:auto; }
.lm-table th,.lm-table td { padding:10px 8px; }
.lm-table th { white-space:normal; }
.lm-table th { color:#565e6c; font-size:10px; font-weight:800; }
.lm-table th .lm-sort { display:inline-block; max-width:13em; white-space:normal; vertical-align:bottom; line-height:1.25; }
.lm-table th small { display:block; margin-top:3px; color:#9498a0; font-size:8px; font-weight:600; }
.lm-table td { color:#434b59; font-size:11px; }
.lm-table tbody tr:hover { background:#f7f8fa; }
.lm-frequency { width:100%; min-width:220px; margin-left:auto; flex-direction:row-reverse; justify-content:flex-end; gap:12px; }
.lm-frequency > span:first-child { flex:0 0 95px; color:#5c6270; font-size:10px; }
.lm-frequency-track { height:6px; flex:1; max-width:220px; background:#eceef1; }
.lm-frequency-fill { border-radius:8px; background:#e45b32; }
.lm-analysis-panels { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:15px; margin-top:17px; align-items:stretch; }
.lm-analysis-panel { overflow:hidden; }
.lm-analysis-panel > header { min-height:54px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 17px; border-bottom:1px solid #eeecea; }
.lm-analysis-panel > header h2 { margin:0; color:#202b40; font-size:18px; font-weight:700; letter-spacing:-.035em; }
.lm-analysis-panel > header > span { color:#858894; font:9px "DM Mono",monospace; white-space:nowrap; }
.lm-composition-grid { display:grid; grid-template-columns:1fr 1fr; gap:27px 22px; padding:24px 20px 28px; }
.lm-composition-grid > div { display:grid; gap:7px; }
.lm-composition-grid small { color:#77808a; font:8px "DM Mono",monospace; letter-spacing:.1em; }
.lm-composition-grid strong { color:#b8482d; font-size:21px; font-weight:900; letter-spacing:-.03em; }
.lm-help-mark { display:grid; width:15px; height:15px; place-items:center; border:1px solid #e55b19; border-radius:50%; color:#a13206 !important; font:700 10px var(--lm-font) !important; }
.lm-theory-body { padding:15px 16px 16px; }
.lm-theory-meta { margin:0 0 11px; color:#888b92; font:8px/1.5 "DM Mono",monospace; }
.lm-outcomes { display:grid; }
.lm-outcomes > div { display:flex; justify-content:space-between; gap:12px; padding:7px 0; border-bottom:1px solid #efedeb; color:#626875; font-size:10px; }
.lm-outcomes strong { color:#515866; font:10px "DM Mono",monospace; }
.lm-theory-note { margin:12px 0 0; padding:12px 13px; border:1px solid #ebe8e5; border-left:3px solid var(--lm-orange); border-radius:0 7px 7px 0; color:#59606d; font-size:10px; line-height:1.65; }
.lm-data-note { border-color:#eeecea; background:#fff; color:#656b77; font-size:12px; }
.lm-field select,.lm-field input,.lm-field textarea { border-color:#dfddda; border-radius:7px; }
.lm-button { border-radius:6px; background:#c94a12; }
.lm-button:hover { background:#a93a0d; }
.lm-button-secondary { color:var(--lm-navy); background:#fff; }
.lm-game-switcher a { border-color:#e1dfdc; border-radius:6px; }
.lm-game-switcher a[aria-current="page"] { background:var(--lm-orange); border-color:var(--lm-orange); color:#fff; }
.lm-status { background:#4d8b6a; }
.lm-status[data-status="demo"],.lm-status[data-status="unverified"],.lm-status[data-status="provisional"],.lm-status[data-status="empty"] { border:1px solid #e55b19; background:#fff; color:#a13206; }
@media (max-width: 920px) {
  .lm-shell { grid-template-columns:1fr; }
  .lm-sidebar { position:relative; top:auto; height:auto; min-height:0; padding:17px 18px 13px; }
  .lm-sidebar-body { margin-top:13px; }
  .lm-nav-kicker { display:none; }
  .lm-about { display:block; margin-top:14px; padding:12px 8px 0; }
  .lm-nav { display:flex; overflow-x:auto; gap:3px; }
  .lm-nav a { flex:0 0 auto; padding:9px 10px; }
  .lm-nav a[aria-current="page"]:before { display:none; }
  .lm-main { padding:0 25px 20px; }
}
@media (max-width: 680px) {
  .lm-main { padding:0 16px 20px; }
  .lm-topbar { min-height:62px; margin-bottom:22px; }
  .lm-main > .lm-game-switcher { margin-bottom:20px; }
  .lm-page-head { margin-bottom:24px; }
  .lm-grid { grid-template-columns:1fr; gap:12px; }
  .lm-game-card { min-height:205px; }
  .lm-game-copy strong { font-size:28px; }
  .lm-analysis-panels { grid-template-columns:1fr; }
  .lm-safety-footer { align-items:flex-start; flex-direction:column; gap:14px; margin-top:27px; }
  .lm-footer-links { align-self:flex-end; }
  .lm-composition-grid { gap:22px 12px; padding:20px 16px; }
  .lm-toolbar { align-items:flex-start; }
  .lm-stat-grid { grid-template-columns:1fr; }
}

.lm-game-summary {
  margin: 14px 0 16px;
  padding: 16px 18px;
  border: 1px solid #e8e5e2;
  border-left: 4px solid var(--lm-orange);
  border-radius: 12px;
  background: #fff;
}
.lm-game-summary-head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 18px; }
.lm-game-summary-head strong { color:var(--lm-navy); font-size:15px; }
.lm-game-summary-head > span { color:#536078; font-size:12px; overflow-wrap:anywhere; }
.lm-game-summary-facts { display:grid; grid-template-columns:1fr 1.2fr 1.6fr; gap:18px; margin:14px 0; }
.lm-game-summary-facts > div { min-width:0; }
.lm-game-summary-facts dt { color:#a13206; font-size:11px; font-weight:700; }
.lm-game-summary-facts dd { margin:4px 0 0; color:#192339; font-size:12px; line-height:1.55; overflow-wrap:anywhere; }
.lm-game-summary-note { display:flex; align-items:flex-start; gap:9px; margin-top:12px; }
.lm-game-summary-note .lm-warning-icon { flex:none; width:18px; height:18px; margin-top:1px; color:#a13206; }
.lm-game-summary-note p { margin:0; color:#536078; font-size:13px; line-height:1.6; }
.lm-game-summary-sources { display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; font-size:11px; }
.lm-game-summary-sources a { color:#a13206; text-decoration:underline; text-underline-offset:3px; }
@media (max-width: 760px) {
  .lm-game-summary { padding:14px 14px; }
  .lm-game-summary-facts { grid-template-columns:1fr; gap:12px; }
}
