/* /qiymeti-tap — the daily price-guess game (qiymet-oyunu.js). On the ev-kit. */
.qg-page main { background: var(--ev-canvas, #f6faf9); }
.qg-intro { padding-top: 36px; }
/* The universal header is taller than the body offset on phones (Əmlak|Biznes row). */
@media (max-width: 900px) { .qg-intro { padding-top: 92px; } }
.qg-intro .ev-lead { max-width: 56ch; }
.qg-rules { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.qg-intro .qg-start-row { margin-top: 18px; }
.qg-intro.is-playing .qg-start-row, .qg-intro.is-playing .qg-rules, .qg-intro.is-playing .ev-lead { display: none; }
.qg-intro.is-playing { padding-bottom: 0; }
.qg-wrap { max-width: 640px; }
#qg-app { margin-top: 4px; }

.qg-card {
  background: #fff;
  border: 1px solid rgba(15, 47, 45, .1);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(15, 47, 45, .06);
  color: #0f2f2d;
}
.qg-msg { text-align: center; }
.qg-msg p { margin: 6px 0 14px; }
.qg-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.qg-score { font-weight: 800; background: #e7f6f4; color: #0b6b62; padding: 4px 10px; border-radius: 999px; font-size: .85rem; }

.qg-media { position: relative; border-radius: 16px; overflow: hidden; background: #dfeeed; aspect-ratio: 4 / 3; }
.qg-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.qg-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: #0f2f2d; font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}
.qg-prev { left: 10px; } .qg-next { right: 10px; }
.qg-count { position: absolute; right: 10px; bottom: 10px; background: rgba(15, 47, 45, .75); color: #fff; font-size: .75rem; padding: 3px 9px; border-radius: 999px; }
.qg-facts { list-style: none; padding: 0; margin: 12px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }

.qg-guess { margin-top: 12px; }
.qg-label { display: block; font-size: .78rem; font-weight: 600; color: #4a6663; text-transform: uppercase; letter-spacing: .04em; }
.qg-value-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 4px; }
.qg-value { font: 800 clamp(1.6rem, 7vw, 2.2rem)/1.1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; text-align: center; flex: 1; }
.qg-step { width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(15, 47, 45, .15); background: #fff; font-size: 24px; cursor: pointer; color: #0f2f2d; }
.qg-slider { width: 100%; height: 44px; accent-color: #2a9d94; cursor: pointer; }
.qg-ends { display: flex; justify-content: space-between; font-size: .75rem; color: #6b8481; }
.qg-go { width: 100%; justify-content: center; min-height: 52px; margin-top: 12px; font-size: 1.05rem; }
.qg-status { min-height: 1.2em; margin: 8px 0 0; text-align: center; font-size: .85rem; color: #4a6663; }
.qg-status.is-err { color: #b42318; }

.qg-reveal { margin-top: 14px; }
.qg-real strong { display: block; font: 800 2rem/1.15 Inter, system-ui, sans-serif; margin-top: 2px; }
.qg-mine { color: #4a6663; font-size: .9rem; margin-top: 4px; }
.qg-bar { height: 12px; border-radius: 999px; background: #e7f2f1; overflow: hidden; margin-top: 12px; }
.qg-bar span { display: block; height: 100%; background: linear-gradient(90deg, #81D8D0, #2a9d94); border-radius: inherit; transform-origin: left center; }
.qg-gain { font-weight: 800; color: #0b6b62; margin: 8px 0 0; font-size: 1.1rem; }
.qg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qg-actions .ev-btn { flex: 1 1 200px; justify-content: center; min-height: 48px; }

.qg-result { text-align: center; }
.qg-total { margin: 8px 0 0; }
.qg-total strong { font: 800 clamp(3rem, 16vw, 4.2rem)/1 Inter, system-ui, sans-serif; color: #0f2f2d; }
.qg-total span { font-weight: 700; color: #6b8481; font-size: 1.3rem; }
.qg-tier { margin: 8px auto 16px; max-width: 40ch; color: #33504d; }
.qg-share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qg-share .ev-btn { justify-content: center; min-height: 48px; }
.qg-share .ev-btn--dark, .qg-share .ev-btn--ghost { grid-column: 1 / -1; }
.qg-wa { background: #25d366; color: #0b2a17; border-color: #25d366; }
.qg-tg { background: #2aabee; color: #04263a; border-color: #2aabee; }
.qg-list { text-align: left; margin: 18px 0 8px; padding-left: 22px; font-size: .9rem; color: #33504d; }
.qg-list li { margin: 4px 0; }
.qg-list a { font-weight: 700; color: #0f2f2d; }
.qg-tomorrow { font-size: .85rem; color: #6b8481; margin: 10px 0 14px; }

/* Footer (as ui-makler.css lays it out): RU link names are long, so they wrap. */
.footer { padding-top: 0; margin-top: clamp(24px, 5vw, 56px); }
.footer .footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer .footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
