@media (max-width: 767px) {
  .reply-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .reply-post {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .reply-post__source {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
  }

  .reply-sheet__dim {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: block;
    background: var(--badge-alpha-b-60);
  }

  .reply-sheet {
    position: fixed;
    right: 0;
    bottom: 80px;
    left: 0;
    z-index: 11;
    display: flex;
    height: min(316px, calc(100dvh - 80px));
    max-height: calc(100dvh - 80px);
    flex-direction: column;
    border-radius: 12px 12px 0 0;
    background: var(--semantic-white);
    transition: height 0.25s ease;
  }

  .reply-sheet__handle {
    display: flex;
    height: 44px;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
  }

  .reply-sheet__handle span {
    width: 40px;
    height: 4px;
    border-radius: var(--radius-full);
    background: var(--neutral-tx3-sub);
  }

  .reply-sheet__list {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .reply-sheet.is-expanded {
    height: calc(100dvh - 80px);
  }

  .reply-comment {
    padding: 0 20px 20px;
    border-bottom: var(--stroke-1) dashed var(--semantic-border);
  }

  .reply-comment + .reply-comment {
    padding-top: 20px;
  }

  .reply-comment header {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
    font-size: var(--font-size-base);
    line-height: var(--line-height-20);
  }

  .reply-comment__avatar {
    width: 24px;
    height: 24px;
    border: var(--stroke-1) solid var(--semantic-border-hover);
    border-radius: var(--radius-full);
    background: var(--semantic-border);
  }

  .reply-comment header strong {
    font-weight: var(--font-weight-medium);
  }

  .reply-comment header time {
    margin-left: auto;
    color: var(--neutral-tx3-sub);
  }

  .reply-comment header button {
    border: 0;
    color: var(--neutral-tx3-sub);
    background: transparent;
  }

  .reply-comment__body {
    padding: 10px 0 0 30px;
    font-size: var(--font-size-base);
    line-height: var(--line-height-20);
  }

  .reply-comment__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    color: var(--neutral-tx3-sub);
  }

  .reply-comment__stats span {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .reply-comment__stats img {
    width: 18px;
  }

  .reply-comment__stats button {
    border: 0;
    color: inherit;
    background: transparent;
  }

  .reply-comment__child {
    margin-top: 20px;
    padding-left: 29px;
  }

  .reply-comment__more-replies {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 20px 0 0 29px;
    border: 0;
    color: var(--neutral-tx2-title);
    background: transparent;
    font-size: var(--font-size-base);
  }

  .reply-comment__more-replies img {
    width: 24px;
  }

  .reply-composer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 12;
    display: block;
    box-sizing: border-box;
    width: auto;
    height: 80px;
    padding: 20px;
    border-top: var(--stroke-1) solid var(--semantic-border);
    background: var(--semantic-white);
  }

  .reply-composer .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .reply-composer__field {
    display: grid;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    grid-template-columns: minmax(0, 1fr) 20px 20px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: var(--stroke-1) solid var(--semantic-input-border);
    border-radius: 8px;
    cursor: text;
  }

  .reply-composer input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--neutral-tx2-title);
    font-family: inherit;
    font-size: var(--font-size-base);
    line-height: var(--line-height-20);
  }

  .reply-composer input::placeholder {
    color: var(--neutral-tx4-dissolved);
  }

  .reply-composer button {
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
  }

  .reply-composer button img {
    width: 100%;
  }

  .reply-composer button[type='submit'] {
    border: var(--stroke-1) solid var(--semantic-border);
    border-radius: var(--radius-xs);
    background: var(--semantic-bg);
  }

  .reply-composer button[type='submit'] img {
    width: 9px;
  }

  .reply-composer button[type='submit']:disabled {
    cursor: default;
    opacity: 0.45;
  }

  .reply-composer.has-value button[type='submit'] {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    opacity: 1;
  }

  .reply-composer.has-value button[type='submit'] img {
    filter: brightness(0) invert(1);
  }
}
