@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

html, body {
  height: 100%;
}

body {
  position: relative;
  min-width: 320px;
  text-rendering: optimizeSpeed;
  font-size: 16px;
  line-height: 1.3;
  overflow-x: hidden;
}
body.fixed {
  overflow: hidden;
}

ul[class],
ol[class] {
  list-style: none;
}

a {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  padding: 0;
  background-color: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}

input {
  outline: none;
  border: 0;
  padding: 0;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul {
  padding: 0;
  margin: 0;
}

#app {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  background: black;
  color: white;
}

header {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 1.5rem 1rem;
  background: transparent;
}
header button {
  cursor: pointer;
}
header button svg:last-child {
  display: none;
}
header button.on svg:first-child {
  display: none;
}
header button.on svg:last-child {
  display: block;
}

.blocked {
  pointer-events: none; /* Полностью блокирует взаимодействие */
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; /* Нельзя выделять текст */
}

main#video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.like-btn.active svg {
  fill: #fd2b55;
}

.profile-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
}
.profile-info .user-avatar {
  width: 48px;
  height: 48px;
  background: #444;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 0.5rem;
}

.video-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.video-section.inactive {
  pointer-events: none;
}
.video-section video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.video-section .actions {
  position: absolute;
  right: 1rem;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
  bottom: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.video-section .actions button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 5px;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.5rem;
  margin: 0.1rem 0;
  cursor: pointer;
  border-radius: 8px;
}
.video-section .actions button .like-count {
  font-size: 1rem;
  font-weight: 700;
}

#share-link {
  background: transparent;
  padding: 1rem;
  border: 1px solid #555;
  border-radius: 5px;
  color: white;
}

.toolbar-item.btn-user, .toolbar-item.ext-link {
  border-radius: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 50px;
  height: 50px;
}

.toolbar-item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  margin-bottom: var(--icon-gap, 16px);
  cursor: pointer;
}

.popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  z-index: 1000;
}
.popup .popup-content {
  background: #222;
  display: inline-block;
  padding: 1rem;
  border-radius: 8px;
  width: 100%;
}
.popup .popup-content p {
  padding-bottom: 10px;
  border-bottom: 1px solid white;
}
.popup .popup-content .s {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.popup .popup-content input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.popup .popup-content button {
  background: #333;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.popup .popup-content button:hover {
  background: #555;
}

.layout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.share-icon {
  height: 40px;
  padding: 20px;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.hidden {
  display: none;
}

.play-btn {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 100;
  cursor: pointer;
  background: none;
}
.play-btn svg {
  width: 80px;
  height: 80px;
  color: white;
}

.app-item {
  height: 58px;
  padding-bottom: 20px;
  margin-bottom: 10px;
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.app-item .item-description {
  display: inline-block;
  width: calc(100% - 144px);
  margin: 0 10px;
  line-height: 40px;
  vertical-align: top;
  font-size: 14px;
}

.icon-area {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}

.app-item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background-color: #fd2b55;
  padding: 3px 10px;
  text-decoration: none;
  cursor: pointer;
}

.app-item .icon-area .icon-name {
  line-height: 20px;
  position: absolute;
  left: 0;
  bottom: -20px;
  font-size: 12px;
  width: 100%;
  text-align: center;
}

.default-modal-content > p {
  margin-top: 10px;
}