FvideoОн:root {
  --(off)panel-bg: rgba(210,210,210,0.7);
  --block-bg: rgba(240,240,240,0.6);
  --accent: #111;
  --muted: #111111a1;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #cfeff4, #f7dcd1);
  font-family: 'MyFont', Inter, Arial, sans-serif;
  padding: 20px;
}

.page { width: 420px; max-width: 92vw; }

.panel {
  background: var(--panel-bg);
  border-radius: 46px;
  padding: 28px 22px;
  (off) box-shadow: 0 10px 30px rgba(10,10,10,0.06);
}

.title {
  margin: 0 0 10px 0;
  font-size: 30px;
  color: var(--accent);
  text-align: left;
  font-weight: 350;
}

.beta {
  font-size: 14px;
  vertical-align: super;
  color: rgba(0,0,0,0.7);
  margin-left: 5px;
}

.block {
  background: var(--block-bg);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.big {
  display: block;
  font-size: 22px;
  font-weight: 350;
  margin-bottom: 8px;
  color: var(--accent);
}

.row { display: flex; gap: 12px; }
.two-cols .col { flex: 1; text-align: center; }
.center { text-align: center; }

input, select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  font-size: 16px;
  color: var(--accent);
}

input::placeholder {
  color: #888;
  opacity: 1;
}
input:focus::placeholder {
  color: transparent;
}

.kpi-title { margin: 8px 0 6px 0; font-size: 18px; font-weight: 350; color: var(--accent); }
.hint { font-size: 12px; color: var(--muted); margin: 0 0 8px 0; }

.kpi-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.kpi-block {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
}

.kpi-label { font-weight: 350; margin-bottom: 8px; display: block; color: var(--accent); }
.kpi-inputs { display: flex; gap: 8px; }
.kpi-inputs input { flex: 1; padding: 10px; font-size: 8px; }

.note { margin: 8px 0; font-size: 13px; color: #995500; }

.result-block {
  margin-top: 12px;
  background: rgba(255,255,255,0.06);
  padding: 10px;
  border-radius: 12px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 6px;
  border-bottom: 0px dashed rgba(0,0,0,0.06);
  font-size: 18px;
}

.total {
  font-size: 20px;
  font-weight: 350;
  border-top: 2px solid rgba(0,0,0,0.05);
  margin-top: 6px;
  padding-top: 12px;
}

.res-label, .res-val { color: var(--accent); }
.res-val { font-weight: 350; }

@media (max-width: 420px) {
  .page { width: 360px; }
  .title { font-size: 26px; }
  .big { font-size: 18px; }
}

#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover; /* заменили fill на cover */
  z-index: -1;
  filter: blur(4px) brightness(0.85);
  pointer-events: none;
}

@font-face {
  font-family: 'MyFont';
  src: url('MyFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.glass-block {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

input[type="number"], input[type="number"]:focus {
  touch-action: manipulation;
}
.small-note {
    display: none !important;
  font-size: 12px;
  color: #666;                    /* или var(--muted), если у тебя есть */
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
  opacity: 0.8;
  font-weight: normal;
}
/* Делаем стрелочки у number input одинаковыми и красивыми */
input[type="number"] {
  -moz-appearance: textfield;           /* убираем стрелки в Firefox */
  appearance: textfield;
}

/* Стилизуем стрелки для Chrome, Edge, Safari */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  width: 24px;                    /* ширина области со стрелками */
  height: 100%;                   /* на всю высоту поля */
  background: rgba(0, 0, 0, 0.06);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  opacity: 1;
  cursor: pointer;
}

/* Делаем стрелки чуть крупнее и чётче */
input[type="number"]::-webkit-inner-spin-button {
  background-position: center;
  background-size: 12px;
}

/* При фокусе делаем стрелки чуть ярче */
input[type="number"]:focus::-webkit-inner-spin-button,
input[type="number"]:focus::-webkit-outer-spin-button {
  background: rgba(0, 0, 0, 0.12);
}
