.root[data-inert=true] {
  height: 100vh;
}
[data-viewport-shrinked=true] .viewport .root {
  height: calc(100% + 1px);
}

.main {
  margin-top: 32px;
}

.nico-header__user {
  display: block;
  color: white;
  font-size: 1.4rem;
}

.sp {
  display: none;
}

.message-wrap {
  margin-bottom: 16px;
  min-width: 680px;
}

.radio {
  flex-direction: row;
  padding: 0 8px;
}

.card--setting {
  padding-top: 6px;
  padding-bottom: 6px;
}

.card--setting .card__title {
  flex-grow: 0;
}

.card--setting .card__content {
  width: 1px;
  flex-grow: 1;
}
.card--setting .card__action {
  order: 3;
}

.card--setting.card--noframe + hr {
  margin: 4px 0;
}

.dialog {
  justify-content: center;
  align-items: center;
}
.dialog__container {
  position: relative;
  width: 680px;
  max-height: 465px;
  min-height: 256px;
  height: 100vh;
  overflow: hidden;
}
.dialog__header {
  height: 48px;
}
.dialog__surface {
  height: calc(100% - 48px);
}
.dialog__content {
  margin: auto 0;
  padding: 0 48px;
  box-sizing: border-box;
  overflow: auto;
}
.dialog__actions {
  min-height: 48px;
  flex-direction: row;
  justify-content: center;
}
.dialog__actions button{
  min-width: 220px;
  margin-left: 8px;
  margin-right: 8px;
}
.dialog__scrim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.dialog--opening .dialog__scrim {
  transition: opacity 150ms linear;
}

.snackbar__surface {
  justify-content: space-between;
  transform: translateX(-100%);
}
