/* Veni Vidi Vici — Hellas et Roma */
.vvv {
	--ink: #2b2118; --parch: #f6f0e4; --parch2: #ece2cf; --terra: #a4442a; --gold: #c08a2e; --olive: #5d6b3a; --line: #d9ccb4;
	--serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
	color: var(--ink); font-size: 16px; line-height: 1.5; max-width: 1100px; margin: 0 auto;
}
.vvv *, .vvv *::before, .vvv *::after { box-sizing: border-box; }
.vvv-motto { font-family: var(--serif); letter-spacing: .5em; text-transform: uppercase; color: var(--terra); text-align: center; font-size: 15px; margin: 0 0 18px; }
.vvv-motto::before, .vvv-motto::after { content: ""; display: inline-block; width: 48px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 14px; }
.vvv-lead { text-align: center; max-width: 640px; margin: 8px auto 20px; }
.vvv-lead a { color: var(--terra); font-weight: 600; }
.vvv-name { font-family: var(--serif); text-align: center; font-size: 34px; margin: 0; font-weight: 600; }
.vvv-h { font-family: var(--serif); font-size: 24px; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin: 36px 0 16px; font-weight: 600; }

.vvv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 18px; }
.vvv-stat { background: var(--parch); padding: 16px 10px; text-align: center; }
.vvv-stat b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--terra); font-weight: 600; }
.vvv-stat span { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }

.vvv-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.vvv-filters input[type=search] { flex: 1 1 240px; }
.vvv-filters input, .vvv-filters select, .vvv-form input, .vvv-form select, .vvv-form textarea {
	font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid var(--line); background: #fff; border-radius: 2px; color: var(--ink);
}
.vvv-range { white-space: nowrap; font-size: 14px; }
.vvv-mine { white-space: nowrap; font-size: 14px; cursor: pointer; }

.vvv-map { height: 520px; border: 1px solid var(--line); background: var(--parch2); z-index: 0; }
.vvv-map-small { height: 380px; }
.vvv-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin: 8px 0 26px; }
.vvv-legend i, .vvv-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

.vvv-year h3 { font-family: var(--serif); font-size: 26px; margin: 26px 0 6px; display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); font-weight: 600; }
.vvv-year h3 small { font-size: 15px; letter-spacing: .15em; color: var(--gold); }
.vvv-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px dotted var(--line); cursor: pointer; }
.vvv-row:hover { background: var(--parch); }
.vvv-row.on { background: linear-gradient(90deg, rgba(192,138,46,.12), transparent 60%); }
.vvv-row .vvv-dot { flex: none; margin: 0; }
.vvv-row-main { flex: 1; min-width: 0; }
.vvv-row-t { color: var(--ink); text-decoration: none; font-weight: 600; }
.vvv-row-t:hover { color: var(--terra); }
.vvv-row-m { font-size: 13px; opacity: .8; }
.vvv-row-m em { color: var(--terra); font-style: normal; }
.vvv-count { font-size: 13px; color: var(--olive); }
.vvv-empty { opacity: .7; font-style: italic; }

.vvv-veni, .vvv-btn {
	flex: none; font: inherit; font-size: 13px; letter-spacing: .04em; cursor: pointer; border: 1px solid var(--terra);
	background: transparent; color: var(--terra); padding: 6px 12px; border-radius: 2px; text-decoration: none; display: inline-block; transition: all .15s;
}
.vvv-veni:hover, .vvv-btn:hover { background: var(--terra); color: #fff; }
.vvv-veni.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.vvv-veni:disabled { opacity: .5; }
.vvv-btn { font-size: 15px; padding: 10px 18px; background: var(--terra); color: #fff; }
.vvv-btn-ghost { background: transparent; color: var(--terra); }

.vvv-pop h4 { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; }
.vvv-pop-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px dotted var(--line); }
.vvv-pop-t { color: var(--ink) !important; text-decoration: none; font-size: 13px; line-height: 1.3; }
.vvv-pop-t small { display: block; opacity: .7; }
.vvv-pop .vvv-veni { font-size: 11px; padding: 4px 8px; }
.leaflet-popup-content { max-height: 320px; overflow-y: auto; }

.vvv-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.vvv-badge { text-align: center; padding: 14px 8px; border: 1px solid var(--line); background: var(--parch); opacity: .55; filter: grayscale(1); }
.vvv-badge.got { opacity: 1; filter: none; border-color: var(--gold); }
.vvv-coin {
	width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-family: var(--serif); font-weight: 700; font-size: 20px; color: #5a3a12;
	background: radial-gradient(circle at 35% 30%, #f3d98b, #c08a2e 60%, #8a5d18);
	box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), inset 0 0 0 5px rgba(90,58,18,.4), 0 2px 4px rgba(0,0,0,.2);
}
.vvv-badge b { display: block; font-family: var(--serif); font-size: 18px; }
.vvv-badge small { display: block; font-size: 12px; line-height: 1.3; opacity: .8; }

.vvv-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; background: var(--parch); border-left: 3px solid var(--terra); padding: 14px 18px; margin: 0 0 18px; }
.vvv-card dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; padding-top: 3px; }
.vvv-card dd { margin: 0; }
.vvv-card h4 { font-family: var(--serif); font-size: 20px; margin: 22px 0 6px; }
.vvv-veni-slot { margin: 24px 0; padding: 18px; border: 1px dashed var(--gold); text-align: center; }
.vvv-veni-slot .vvv-veni { font-size: 16px; padding: 10px 22px; }

.vvv-ranking { text-align: center; }
.vvv-total span { display: block; font-family: var(--serif); font-size: 64px; color: var(--terra); line-height: 1; }
.vvv-ranking ol { text-align: left; max-width: 520px; margin: 24px auto; }
.vvv-ranking li { padding: 6px 0; border-bottom: 1px dotted var(--line); }
.vvv-ranking em { float: right; font-style: normal; font-size: 13px; opacity: .75; }

.vvv-form { max-width: 600px; }
.vvv-form label { display: block; font-weight: 600; font-size: 14px; }
.vvv-form input, .vvv-form select, .vvv-form textarea { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
.vvv-ok { background: #e7efd9; border-left: 3px solid var(--olive); padding: 10px 14px; }
.vvv-gate { text-align: center; padding: 40px 10px; background: var(--parch); }

.vvv-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; transition: all .35s; z-index: 99999;
	background: #2b2118; color: #f6f0e4; padding: 12px 20px; border-radius: 3px; font-size: 15px; max-width: 90vw; box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.vvv-toast.on { opacity: 1; transform: translate(-50%, 0); }
.vvv-toast-big { background: linear-gradient(135deg, #8a5d18, #c08a2e); font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; padding: 16px 26px; }

@media (max-width: 640px) {
	.vvv-stats { grid-template-columns: repeat(2, 1fr); }
	.vvv-map { height: 400px; }
	.vvv-row { flex-wrap: wrap; }
	.vvv-row .vvv-veni { margin-left: 22px; }
}
