* {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  }
  
  body {
    -webkit-text-size-adjust: 100%;
  }
  
  button,
  input {
    font: inherit;
  }
  
  button {
    cursor: pointer;
    border: 0;
    background: none;
  }
  
  img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid #ececec;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }
  
  .back-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 24px;
    color: #333;
    display: grid;
    place-items: center;
  }
  
  .page-wrap {
    padding-top: 50px;
    padding-bottom: 110px;
  }
  
  .media-section {
    background: #fff;
  }
  
  .slider {
    position: relative;
    overflow: hidden;
    background: #111;
  }
  
  .slider-track {
    display: flex;
    transition: transform 0.25s ease;
    touch-action: pan-y;
  }
  
  .slide {
    flex: 0 0 100%;
    width: 100%;
    background: #111;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .placeholder-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .placeholder-inner {
    color: #666;
    font-size: 14px;
  }
  
  .audio-toggle {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 33px;
    height: 33px;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 2;
  }
  
  .audio-toggle.is-playing {
    background: rgba(0,0,0,0.75);
  }

  .audio-toggle .icon-on {
    display: none;
  }
  
  .audio-toggle.is-playing .icon-on {
    display: block;
  }
  
  .audio-toggle.is-playing .icon-off {
    display: none;
  }

  .audio-icon svg{
    vertical-align: bottom;
  }
  .dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px 8px;
  }
  
  .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #d2d2d2;
    padding: 0;
  }
  
  .dot.is-active {
    background: #111;
  }
  
  .post-section {
    padding: 8px 16px 18px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .post-title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
  }
  
  .post-description {
    font-size: 14px;
    line-height: 1.65;
    color: #333;
    word-break: break-word;
  }
  
  .post-date {
    margin-top: 14px;
    color: #999;
    font-size: 13px;
  }
  
  .comment-section {
    padding: 10px 0 0;
  }
  
  .comment-title {
    margin: 0;
    padding: 0 16px 12px;
    font-size: 15px;
    font-weight: 700;
  }
  
  .comment-list {
    padding: 0 0 6px;
  }
  
  .empty-comments {
    padding: 16px;
    color: #888;
    font-size: 14px;
  }
  
  .comment-item,
  .reply-item {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
  }
  
  .reply-list {
    /* margin-top: 4px;
    padding-left: 8px;
    border-left: 2px solid #f2f2f2; */
  }
  
  .reply-item {
    padding: 10px 0 0 0;
  }
  
  .avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    background: #e1e1e1;
    border-radius: 999px;
  }
  
  .avatar.small {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  
  .comment-main {
    min-width: 0;
    flex: 1;
  }
  
  .comment-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
    min-height: 20px;
  }
  
  .comment-author {
    font-size: 14px;
    color: #bbb;
    font-weight: 600;
  }
  
  .comment-body {
    font-size: 15px;
    line-height: 1.55;
    color: #222;
    word-break: break-word;
  }
  
  .comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
    color: #aaa;
    font-size: 13px;
  }
  .comment-meta .left{
    display:flex;
    align-items:center;
    gap:1rem;
  }
  .comment-time {
    color: #b0b0b0;
  }
  
  .reply-btn {
    color: #9d9d9d;
    font-size: 12px;
    padding: 0;
  }
  
  .admin-liked-badge {
    position: relative;
  }
  
  .admin-liked-icon {
    width: 22px;
    display: block;
  }
  .admin-liked-icon img{
    border-radius: 50%;
  }
  .admin-liked-heart {
    position: absolute;
    right: -5px;
    bottom: -5px;
  }
  .admin-liked-heart svg{
    vertical-align: bottom;
  }
  .composer-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.98);
    border-top: 1px solid #ececec;
    z-index: 1000;
  
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  
  .composer-wrap.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .replying-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 10px;
    background: #f8f8f8;
    border-radius: 10px;
    font-size: 13px;
    color: #555;
  }
  
  .replying-indicator.is-hidden {
    display: none;
  }
  
  .reply-cancel-btn {
    color: #666;
    font-size: 12px;
    font-weight: 700;
  }
  
  .comment-form {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .comment-input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: #f2f2f2;
    outline: none;
    font-size: 16px;
  }
  
  .comment-input::placeholder {
    color: #c3c3c3;
  }
  
  .send-btn {
    flex: 0 0 auto;
    min-width: 48px;
    height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
  }
  
  .send-btn.is-hidden {
    display: none;
  }

  /* いいね */
  .comment-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    color: #b0b0b0;
    font-size: 13px;
  }
  
  .comment-like-btn.is-liked {
    color: #ff5252;
  }
  
  .like-heart {
    font-size: 15px;
    line-height: 1;
  }
  
  .like-count {
    font-size: 12px;
  }
  
  .comment-author-line {
    font-size: 14px;
    color: #bbb;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
  }
  
  .reply-arrow {
    color: #999;
    font-size: 12px;
  }
  /* いいね */
