*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  font-family: "Noto Sans", "Segoe UI", system-ui, sans-serif;
  color: #fff;
  overflow: hidden;
}

#fellow-app {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
}

#tv-stage {
  position: relative;
  width: 1280px;
  height: 720px;
  flex: none;
  background: transparent;
  overflow: hidden;
  transform-origin: center center;
}

#home-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

#home-panel.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}

.home-bg {
  position: absolute;
  left: 0;
  top: 370px;
  width: 1280px;
  height: 347px;
  pointer-events: none;
}

.home-footer-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #7030a0;
  z-index: 2;
}

.home-label {
  position: absolute;
  margin: 0;
  top: 572px;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #9a9a9a;
  text-transform: uppercase;
  white-space: nowrap;
}

.channel-block {
  position: absolute;
  left: 32px;
  top: 0;
}

.channel-block .home-label {
  left: 0;
}

.channel-title-row {
  position: absolute;
  top: 616px;
  left: 0;
  display: flex;
  align-items: flex-start;
}

.channel-live {
  width: 11px;
  height: 11px;
  margin-right: 7px;
  margin-top: 8.9px;
  flex-shrink: 0;
}

.channel-name {
  margin: 0;
  flex: none;
  width: 227px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.channel-tagline {
  position: absolute;
  top: 650px;
  left: 18px;
  width: 227px;
  margin: 0;
  font-size: 18px;
  color: #cfcfcf;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.reactions-block {
  position: absolute;
  left: 291px;
  top: 0;
}

.reactions-block .home-label {
  left: 0;
}

.reactions-row {
  position: absolute;
  top: 641px;
  left: 0;
  height: 40px;
}

.reaction-btn {
  position: absolute;
  top: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: default;
  display: block;
}

.reaction-btn:focus {
  outline: none;
}

.reaction-btn:nth-child(1) {
  left: 15px;
}
.reaction-btn:nth-child(2) {
  left: 90px;
}
.reaction-btn:nth-child(3) {
  left: 165px;
}
.reaction-btn:nth-child(4) {
  left: 240px;
}

.reaction-btn img {
  display: block;
  pointer-events: none;

  position: relative;
  z-index: 1;
}

.reaction-btn.is-selected::before {
  content: "";
  position: absolute;
  left: -15px;
  right: -15px;
  top: -35px;
  height: 110px;
  background: rgba(74, 67, 77, 0.85);
  border: 1px solid #fff;
}

.nav-hint {
  position: absolute;
  right: 32px;
  top: 572px;
  transition: top 0.25s ease;
}

.home-ad-block.has-ad ~ .nav-hint {
  top: 431px;
}

.home-ad-block {
  position: absolute;
  left: 600px;
  top: 604px;
  width: 648px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  visibility: hidden;
}

.home-ad-block.has-ad {
  visibility: visible;
}

.home-ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  outline: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
}

.home-ad-slot iframe {
  max-width: 100%;
}

.home-ad-slot[data-estado="vazio"] {
  display: none;
}

.home-ad-slot:focus {
  outline: none;
}

.home-ad-block.is-selected .home-ad-slot {
  box-shadow:
    0 0 0 10px rgba(74, 67, 77, 0.85),
    0 0 0 11px #fff;
}

#reaction-animation {
  position: absolute;
  z-index: 5;
  width: 0;
  height: 0;
}

#reaction-animation[data-option="1"] {
  left: 326px;
  top: 660px;
}
#reaction-animation[data-option="2"] {
  left: 401px;
  top: 660px;
}
#reaction-animation[data-option="3"] {
  left: 475px;
  top: 660px;
}
#reaction-animation[data-option="4"] {
  left: 549px;
  top: 660px;
}

#reaction-animation img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
}

#netlog-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  color: #ddd;
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.4;
  overflow-y: auto;
  padding: 16px;
}

#netlog-panel[hidden] {
  display: none;
}

.netlog-header {
  color: #fff;
  font-weight: bold;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
}

.netlog-entry {
  padding: 8px 0;
  border-bottom: 1px solid #222;
}

.netlog-head {
  display: flex;
  align-items: baseline;
}

.netlog-time {
  color: #777;
  margin-right: 12px;
}

.netlog-method {
  color: #58a6ff;
  font-weight: bold;
  margin-right: 12px;
}

.netlog-status {
  margin-left: auto;
  font-weight: bold;
}

.netlog-entry.is-ok .netlog-status {
  color: #4caf50;
}

.netlog-entry.is-error .netlog-status {
  color: #f44336;
}

.netlog-entry.is-pending .netlog-status {
  color: #ffb300;
}

.netlog-url {
  color: #eee;
  word-break: break-all;
}

.netlog-body {
  margin-top: 4px;
  max-height: 140px;
  overflow: auto;
  color: #9e9e9e;
  white-space: pre-wrap;
  word-break: break-all;
}

.netlog-error-text {
  color: #f44336;
}
