*{margin:0;padding:0;box-sizing:border-box}
:root{--bg:#0a0a0f;--bg2:#12121a;--bg3:#1a1a26;--card:#16161f;--border:#2a2a3a;--text:#e8e8f0;--text2:#9898b0;--text3:#686880;--accent:#c41e3a;--accent2:#e8364f;--green:#22c55e;--yellow:#eab308;--blue:#3b82f6;--radius:12px;--radius-sm:8px;--shadow:0 4px 24px rgba(0,0,0,.4)}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;min-height:100vh}
.container{max-width:1100px;margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.site-header{background:var(--bg2);border-bottom:1px solid var(--border);padding:14px 0;position:sticky;top:0;z-index:100;backdrop-filter:blur(12px)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-weight:700;font-size:1.15rem}
.main-nav{display:flex;gap:20px}
.main-nav a{color:var(--text2);text-decoration:none;font-size:.9rem;font-weight:500;transition:color .2s}
.main-nav a:hover{color:var(--text)}
.hero-section{padding:60px 0 40px;text-align:center;background:linear-gradient(180deg,var(--bg2) 0%,var(--bg) 100%)}
.hero-section h1{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:800;line-height:1.2;margin-bottom:12px;background:linear-gradient(135deg,var(--text) 0%,var(--accent2) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-sub{color:var(--text2);font-size:1.05rem;max-width:560px;margin:0 auto}
.matchup-section{padding:40px 0}
.matchup-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:start}
.fighter-slot h2{font-size:.85rem;text-transform:uppercase;letter-spacing:1px;color:var(--text3);margin-bottom:8px}
.fighter-select{width:100%;padding:10px 14px;background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);font-size:.95rem;cursor:pointer;appearance:auto;margin-bottom:12px}
.fighter-select:focus{outline:2px solid var(--accent);outline-offset:2px}
.fighter-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px;min-height:200px}
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:160px;color:var(--text3);text-align:center;gap:8px}
.empty-state p{font-size:.85rem}
.fighter-profile{display:flex;flex-direction:column;gap:12px}
.fp-header{display:flex;align-items:center;gap:14px}
.fp-avatar{width:56px;height:56px;border-radius:50%;background:var(--bg3);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem;color:var(--accent);border:2px solid var(--border);flex-shrink:0}
.fp-name{font-weight:700;font-size:1.1rem}
.fp-division{font-size:.8rem;color:var(--text3)}
.fp-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fp-stat{background:var(--bg3);border-radius:var(--radius-sm);padding:8px 12px}
.fp-stat-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.5px;color:var(--text3)}
.fp-stat-value{font-weight:600;font-size:.9rem}
.fp-tendencies{display:flex;flex-direction:column;gap:6px}
.tendency-row{display:flex;align-items:center;gap:8px;font-size:.82rem}
.tendency-label{width:80px;color:var(--text2);flex-shrink:0}
.tendency-bar{flex:1;height:6px;background:var(--bg3);border-radius:3px;overflow:hidden}
.tendency-fill{height:100%;border-radius:3px;transition:width .4s ease}
.tendency-fill.strike{background:var(--accent)}
.tendency-fill.grapple{background:var(--blue)}
.tendency-fill.clinch{background:var(--yellow)}
.tendency-pct{width:32px;text-align:right;color:var(--text3);font-size:.75rem}
.vs-divider{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding-top:36px}
.swap-btn{background:var(--bg3);border:1px solid var(--border);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text2);transition:all .2s}
.swap-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.vs-text{font-weight:800;font-size:1.2rem;color:var(--accent);letter-spacing:2px}
.comparison-result{margin-top:28px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:24px}
.result-placeholder{text-align:center;color:var(--text3);padding:20px}
.comp-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:12px}
.comp-score-wrap{text-align:center}
.comp-score{font-size:2.4rem;font-weight:800;line-height:1}
.comp-score-label{font-size:.7rem;text-transform:uppercase;letter-spacing:1px;color:var(--text3)}
.comp-score-fav{font-size:.85rem;font-weight:600;margin-top:4px}
.comp-bars{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}
.comp-bar-row{display:grid;grid-template-columns:120px 1fr 120px;gap:10px;align-items:center}
.comp-bar-label{font-size:.82rem;color:var(--text2)}
.comp-bar-label.right{text-align:right}
.comp-bar-track{height:10px;background:var(--bg3);border-radius:5px;overflow:hidden;position:relative}
.comp-bar-fill{height:100%;border-radius:5px;transition:width .5s ease}
.comp-bar-fill.left{background:linear-gradient(90deg,var(--accent),var(--accent2))}
.comp-bar-fill.right{background:linear-gradient(90deg,var(--blue),#60a5fa)}
.comp-bar-center{position:absolute;left:50%;top:0;bottom:0;width:2px;background:var(--border);transform:translateX(-50%)}
.comp-notes{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.comp-note{background:var(--bg3);border-radius:var(--radius-sm);padding:12px;font-size:.82rem;color:var(--text2)}
.comp-note-title{font-weight:600;color:var(--text);font-size:.85rem;margin-bottom:4px}
.action-bar{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:var(--radius-sm);font-size:.85rem;font-weight:600;cursor:pointer;border:1px solid var(--border);transition:all .2s;font-family:inherit}
.btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn-primary:hover{background:var(--accent2)}
.btn-secondary{background:var(--bg3);color:var(--text)}
.btn-secondary:hover{background:var(--border)}
.btn-ghost{background:transparent;color:var(--text3)}
.btn-ghost:hover{color:var(--text)}
.btn:disabled{opacity:.4;cursor:not-allowed}
.featured-section{padding:50px 0;background:var(--bg2)}
.featured-section h2,.mistakes-section h2,.faq-section h2,.how-section h2{font-size:1.5rem;font-weight:700;margin-bottom:6px}
.section-sub{color:var(--text2);margin-bottom:24px;font-size:.92rem}
.preset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.preset-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px;cursor:pointer;transition:all .2s}
.preset-card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:var(--shadow)}
.preset-fighters{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.preset-fighter{font-weight:600;font-size:.95rem}
.preset-vs{color:var(--text3);font-size:.8rem}
.preset-event{font-size:.78rem;color:var(--text3)}
.mistakes-section{padding:50px 0}
.mistakes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-top:24px}
.mistake-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.mistake-card h3{font-size:1rem;font-weight:600;margin-bottom:8px;color:var(--accent2)}
.mistake-card p{font-size:.85rem;color:var(--text2);line-height:1.5}
.faq-section{padding:50px 0;background:var(--bg2)}
.faq-list{display:flex;flex-direction:column;gap:0;margin-top:24px}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.faq-item+.faq-item{border-top:none}
.faq-item dt{padding:16px 20px;font-weight:600;font-size:.95rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--card);transition:background .2s}
.faq-item dt:hover{background:var(--bg3)}
.faq-item dt::after{content:'+';font-size:1.2rem;color:var(--text3);flex-shrink:0;transition:transform .2s}
.faq-item.open dt::after{transform:rotate(45deg)}
.faq-item dd{padding:0 20px;max-height:0;overflow:hidden;transition:all .3s;font-size:.88rem;color:var(--text2);line-height:1.6}
.faq-item.open dd{padding:16px 20px;max-height:300px}
.how-section{padding:50px 0}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.how-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.how-num{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;font-size:.9rem;margin-bottom:10px}
.how-card h3{font-size:1rem;font-weight:600;margin-bottom:6px}
.how-card p{font-size:.85rem;color:var(--text2)}
.site-footer{background:var(--bg2);border-top:1px solid var(--border);padding:40px 0 20px;margin-top:40px}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;flex-wrap:wrap}
.footer-brand p{font-size:.82rem;color:var(--text3);max-width:300px;margin-top:6px}
.logo-sm{display:flex;align-items:center;gap:6px;font-weight:700;font-size:.95rem}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.footer-links a{color:var(--text2);text-decoration:none;font-size:.85rem}
.footer-links a:hover{color:var(--text)}
.footer-bottom{border-top:1px solid var(--border);padding-top:16px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-bottom p{font-size:.75rem;color:var(--text3)}
@media(max-width:768px){
.main-nav{display:none}
.matchup-grid{grid-template-columns:1fr}
.vs-divider{flex-direction:row;padding-top:0}
.comp-bar-row{grid-template-columns:80px 1fr 80px}
.comp-notes{grid-template-columns:1fr}
.how-grid{grid-template-columns:1fr}
.footer-bottom{flex-direction:column}
.hero-section{padding:40px 0 30px}
}
@media print{
.site-header,.site-footer,.action-bar,.featured-section,.mistakes-section,.faq-section,.how-section,.vs-divider .swap-btn{display:none}
body{background:#fff;color:#000}
.fighter-card,.comparison-result{border:1px solid #ccc;break-inside:avoid}
}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--bg3);border:1px solid var(--border);color:var(--text);padding:10px 20px;border-radius:var(--radius-sm);font-size:.85rem;z-index:200;opacity:0;transition:opacity .3s;pointer-events:none}
.toast.show{opacity:1}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
