/* Залози ДНЕС – стилове само за началната страница (секции). Chrome-ът е в zd.css. */

body.home { font-family: var(--sans); color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; line-height: 1.4; }
body.home h1, body.home h2, body.home h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.3px; }
body.home section a { text-decoration: none; color: inherit; }

.hero { padding: 26px 0 30px; }
.hero h1 { font-size: 27px; line-height: 1.1; max-width: 620px; margin: 0; }
.hero .lead { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 600px; }
.heroGrid { display: grid; gap: 16px; margin-top: 22px; grid-template-columns: 1fr; }

.panel { background: #fff; border-radius: 18px; padding: 18px; }
.panel.dark { background: var(--dark); color: #fff; }
.panel h3 { font-size: 18px; margin: 0; }
.badgeline { display: inline-flex; align-items: center; gap: 6px; background: var(--dark2); color: var(--green-l); font-family: var(--mono); font-weight: 700; font-size: 10px; letter-spacing: .5px; padding: 4px 9px; border-radius: 999px; }

.leg { display: flex; align-items: center; gap: 10px; background: #1B3026; border-radius: 12px; padding: 9px 11px; margin-bottom: 8px; }
.leg .minfo { flex: 1; min-width: 0; }
.leg input.match { width: 100%; background: none; border: 0; color: #fff; font-family: var(--sans); font-weight: 600; font-size: 13.5px; outline: none; }
.leg input.match::placeholder { color: #6f867b; }
.leg .odd { display: flex; align-items: center; background: var(--dark); border-radius: 9px; padding: 0 4px; }
.leg input.leg-odd { width: 54px; background: none; border: 0; color: var(--green-l); font-family: var(--mono); font-weight: 700; font-size: 15px; text-align: center; padding: 8px 2px; outline: none; }
.leg .rm { background: none; border: 0; color: #5E726A; cursor: pointer; font-size: 17px; line-height: 1; padding: 2px 4px; }
.addleg { width: 100%; background: none; border: 1.5px dashed #2D5E3A; color: var(--green-l); font-weight: 600; font-size: 12.5px; padding: 11px; border-radius: 12px; cursor: pointer; margin-bottom: 14px; }
.hr-d { height: 1px; background: #1F3A30; margin: 4px 0 14px; }
.stakerow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.stakerow label { font-size: 12.5px; color: #9FB5AC; }
.stakebox { display: flex; align-items: center; background: #1B3026; border-radius: 10px; padding: 0 12px; }
.stakebox input { width: 70px; background: none; border: 0; color: #fff; font-family: var(--mono); font-weight: 700; font-size: 16px; text-align: right; padding: 11px 0; outline: none; }
.stakebox span { color: #9FB5AC; font-size: 13px; margin-left: 5px; }
.resgrid { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.resgrid .lab { font-size: 11px; color: #9FB5AC; }
.resgrid .v { font-family: var(--mono); font-weight: 700; font-size: 24px; }
.resgrid .v.win { color: var(--green-l); }

.panel.quiz { background: var(--green); color: #fff; }
.q { margin-bottom: 14px; }
.q .qq { font-weight: 700; font-size: 13.5px; margin-bottom: 8px; display: flex; gap: 7px; align-items: center; }
.q .qn { width: 20px; height: 20px; border-radius: 999px; background: rgba(255,255,255,.22); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.opts { display: flex; flex-wrap: wrap; gap: 7px; }
.opt { border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; border-radius: 999px; padding: 8px 13px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: .12s; }
.opt:hover { background: rgba(255,255,255,.18); }
.opt.sel { background: #fff; color: var(--green-d); border-color: #fff; }
.qresult { background: #fff; color: var(--ink); border-radius: 14px; padding: 15px; margin-top: 6px; display: none; }
.qresult.show { display: block; }
.qresult .rl { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .5px; }
.qresult .rn { font-family: var(--head); font-weight: 800; font-size: 20px; margin: 3px 0; }
.qresult .rw { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }

section.block { padding: 30px 0; }
section.block.white { background: #fff; }
.shead { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; gap: 12px; }
.shead h2 { font-size: 21px; margin: 0; }
.shead .ssub { font-size: 12px; color: var(--muted2); }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--green-d); font-weight: 600; }

.winner { border: 2.5px solid var(--gold); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.ribbon { background: var(--gold); color: var(--dark); font-family: var(--head); font-weight: 800; font-size: 12px; letter-spacing: .4px; text-align: center; padding: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.wbody { background: #FFFDF6; padding: 16px; }
.wtop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.blogo { border-radius: 9px; color: #fff; font-family: var(--head); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rate { text-align: right; }
.rate .rv { font-family: var(--mono); font-weight: 800; font-size: 20px; }
.rate .rc { font-size: 9.5px; color: var(--muted2); }
.wbonus { background: #fff; border: 1px solid #F0E4C4; border-radius: 10px; padding: 12px; margin-bottom: 13px; }
.wbonus .bl { font-size: 9px; font-weight: 700; color: #B8920F; letter-spacing: .6px; }
.wbonus .bv { font-family: var(--head); font-weight: 800; font-size: 23px; }
.feats { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.terms { text-align: center; font-size: 9px; color: #A8B0AA; margin-top: 10px; }

table.rank { width: 100%; border-collapse: collapse; display: none; }
table.rank th { font-size: 11px; color: var(--muted2); text-align: left; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.rank td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.rank .rnum-cell { font-family: var(--head); font-weight: 800; color: var(--muted); }
.rcards { display: flex; flex-direction: column; gap: 10px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px; }
.rcard .rtop { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.rnum { width: 24px; height: 24px; border-radius: 999px; background: #E7ECE6; font-family: var(--head); font-weight: 800; font-size: 13px; color: #5A6B62; display: flex; align-items: center; justify-content: center; }
.rmid { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rmid .bn { font-family: var(--head); font-weight: 700; font-size: 16px; }

.twoCol { display: grid; gap: 16px; grid-template-columns: 1fr; }
.matchcard { background: var(--dark); border-radius: 14px; overflow: hidden; color: #fff; }
.mc-top { padding: 16px; }
.leaguerow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.teams { display: flex; justify-content: space-between; align-items: center; text-align: center; margin-bottom: 14px; }
.teams .tm { flex: 1; }
.teams .badge { width: 42px; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-family: var(--head); font-weight: 800; font-size: 14px; }
.teams .vs { color: var(--muted); font-family: var(--mono); font-weight: 700; }
.pickbox { display: flex; justify-content: space-between; align-items: center; background: var(--dark2); border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.pickbox .pl { font-size: 9px; font-weight: 700; color: #9FB5AC; letter-spacing: .7px; }
.pickbox .pv { font-family: var(--head); font-weight: 700; font-size: 15px; }
.pickbox .po { font-family: var(--mono); font-weight: 700; font-size: 22px; color: var(--gold); text-align: right; }
.mc-bot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #0A211C; }
.exp { display: flex; align-items: center; gap: 9px; }
.exp .av { width: 34px; height: 34px; border-radius: 999px; background: var(--gold); color: var(--dark); font-family: var(--head); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.exp .en { font-weight: 600; font-size: 12px; }
.exp .er { font-family: var(--mono); font-size: 10px; color: var(--green-l); }
.feed { display: flex; flex-direction: column; gap: 10px; }
.frow { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.frow .ftime { width: 46px; text-align: center; }
.frow .ftime .t { font-family: var(--mono); font-weight: 700; font-size: 12px; }
.frow .ftime .l { font-size: 8.5px; color: var(--muted2); }
.frow .fmid { flex: 1; min-width: 0; }
.frow .fm { font-weight: 600; font-size: 13px; }
.frow .fo { font-family: var(--mono); font-weight: 700; font-size: 17px; text-align: right; }
.frow .fe { font-size: 8.5px; color: var(--green); text-align: right; }

section.tools { background: var(--dark); color: #fff; padding: 30px 0; }
.toolgrid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.tool { display: flex; align-items: center; gap: 12px; background: var(--dark2); border-radius: 12px; padding: 14px; cursor: pointer; transition: .15s; }
.tool:hover { background: #1d4438; }
.tool .ti { width: 38px; height: 38px; border-radius: 9px; background: var(--dark); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.tool .tn { flex: 1; font-weight: 600; font-size: 14px; }
.tool .ta { color: #9FB5AC; }

.kiro-av { width: 54px; height: 54px; border-radius: 999px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 28px; position: relative; background: linear-gradient(135deg, #1F9D55, #0E2A24); }
.kiro-av .ai { position: absolute; bottom: -3px; right: -4px; background: var(--gold); color: var(--dark); font-family: var(--head); font-weight: 800; font-size: 9px; padding: 2px 5px; border-radius: 999px; border: 2px solid #fff; }
.kiro-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kiro-stats .s { background: var(--ground); border-radius: 10px; padding: 10px 6px; text-align: center; }
.kiro-stats .v { font-family: var(--mono); font-weight: 700; font-size: 17px; color: var(--green); }
.kiro-stats .l { font-size: 9.5px; color: var(--muted); }
.kiro-how { display: grid; gap: 10px; grid-template-columns: 1fr; }
.kiro-how .step { display: flex; gap: 9px; font-size: 12.5px; line-height: 1.4; }
.kiro-how .step .n { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; background: #EAF6EF; color: var(--green-d); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }

@media (min-width: 760px) { .kiro-how { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 960px) {
	.hero h1 { font-size: 40px; max-width: 760px; }
	.hero .lead { font-size: 16px; }
	.heroGrid { grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 28px; }
	.shead h2 { font-size: 26px; }
	table.rank { display: table; }
	.rcards { display: none; }
	.twoCol { grid-template-columns: 1.05fr .95fr; gap: 20px; }
	.toolgrid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 760px) and (max-width: 959px) {
	.toolgrid { grid-template-columns: repeat(2, 1fr); }
	.heroGrid { grid-template-columns: 1fr 1fr; }
}
