/* Full device canvas, including phones wider than the website's 430px cutoff. */
html.grant-native, html.grant-native body {
  width:100%; height:100%; margin:0; overflow:hidden; background:#0A140F;
}
html.grant-native #stage {
  width:100%; height:100%; min-height:100%; padding:0; display:block;
}
html.grant-native #phone {
  width:100%; height:100%; max-width:none; max-height:none;
  margin:0; border:0; border-radius:0; box-shadow:none;
}
/* Paint the landscape behind the status bar; content screens keep their safe padding. */
html.grant-native #phone .screen.splash {
  padding-top:0; background:#0E2033;
}
html.grant-native #phone .splash>.scene {
  background:#0E2033;
}
html.grant-native #phone .splash>.hero-panel {
  padding-bottom:calc(26px + var(--safe-bottom, 0px));
}
html.grant-native #phone .screen {
  padding-left:env(safe-area-inset-left, 0px);
  padding-right:env(safe-area-inset-right, 0px);
}

/* Match the status-bar safe area and adjacent toolbar to the current screen canvas.
   var(--paper) also follows the reading screen theme. Keep chip/card surfaces. */
html.grant-native #phone .screen>.topline {
  background:var(--paper);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

/* Без масштабирования страницы двойным касанием (приложение). */
html.grant-native, html.grant-native body {
  touch-action: manipulation;
}

/* В приложении текст нельзя выделять и копировать — кроме вкладки «Вузы» и полей ввода. */
html.grant-native body, html.grant-native body * {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
html.grant-native.экран-вузы body, html.grant-native.экран-вузы body *,
html.grant-native input, html.grant-native textarea, html.grant-native [contenteditable="true"] {
  -webkit-user-select: text; user-select: text; -webkit-touch-callout: default;
}

/* Экран подписки: условия и ссылки — мелко и тихо, одной строкой (обязательны по правилам Apple). */
html.grant-native .гп-условия{margin:6px 0 0;font-size:11.5px;line-height:1.45;font-weight:500;color:var(--soft);opacity:.8;text-align:center}
html.grant-native .гп-мелко{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 18px;margin:2px 0 8px;color:var(--soft);opacity:.75}
html.grant-native .гп-мелко a,html.grant-native .гп-мелко button{all:unset;cursor:pointer;font-size:12px;font-weight:600;line-height:1.2;color:var(--soft);padding:12px 2px;
  text-decoration:underline;text-decoration-color:rgba(127,154,136,.35);text-underline-offset:3px}
html.grant-native .гп-мелко button[disabled]{opacity:.5;cursor:default}
html.grant-native .гп-мелко span{font-size:12px}
html.grant-native .гп-доки{display:flex;flex-direction:column;margin:4px 0 6px}
html.grant-native .гп-док{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;
  cursor:pointer;font-size:15px;font-weight:700;color:var(--ink);border-bottom:1px solid rgba(127,154,136,.18)}
html.grant-native .гп-док svg{color:var(--soft);flex:none}

/* Соцсети: цветные плитки с белым знаком. */
html.grant-native .соц-ик, html.grant-native .конт-ик{color:#fff !important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html.grant-native .соц-instagram, html.grant-native .конт-instagram .конт-ик{background:linear-gradient(135deg,#F9A23B 0%,#E1306C 50%,#8A3AB9 100%) !important}
html.grant-native .соц-telegram, html.grant-native .конт-telegram .конт-ик{background:linear-gradient(160deg,#3BB2F2 0%,#1E88D0 100%) !important}
html.grant-native .соц-tiktok, html.grant-native .конт-tiktok .конт-ик{background:#111 !important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),-2px 0 0 rgba(37,244,238,.55),2px 0 0 rgba(254,44,85,.55) !important}
html.grant-native .соц-ик{border-radius:14px}

/*p38:push{*/
.пуш-список { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 14px; }
.пуш-строка { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px;
  padding: 10px 2px; background: none; border: 0; border-bottom: 1px solid rgba(15,42,29,.09); text-align: left; color: var(--ink, #0F2A1D); font: inherit; }
.пуш-тексты { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.пуш-тексты b { font-weight: 700; font-size: 15px; }
.пуш-тексты small { font-weight: 500; font-size: 12.5px; color: var(--soft, #7D9A88); }
.пуш-тумблер { position: relative; flex: none; width: 46px; height: 28px; border-radius: 999px; background: rgba(15,42,29,.14); transition: background-color .18s cubic-bezier(.25,1,.5,1); }
.пуш-тумблер i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,42,29,.25); transition: transform .18s cubic-bezier(.25,1,.5,1); }
.пуш-тумблер.on { background: var(--accent, #2FA84F); }
.пуш-тумблер.on i { transform: translateX(18px); }
.пуш-бокс .lang-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .пуш-тумблер, .пуш-тумблер i { transition: none; } }
/*}p38:push*/
