

.arp-page {
  width: 100%;
  margin: 0 auto;
  padding-block: 48px;
  padding-inline: clamp(16px, 5vw, 104px);
  display: flex;
  gap: 40px;
  flex-direction: column;
  box-sizing: border-box;
}

.arp-wrap {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
  width: 100%;
  position: relative;
}

.arp-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }

.arp-post { display: flex; flex-direction: column; gap: 32px; background: transparent; width: 100%; }


.arp-userblock { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }
.arp-userinfo { display: flex; align-items: center; gap: 16px; }
.arp-avatarlink { flex-shrink: 0; display: inline-flex; }
.arp-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(237, 237, 237, 0.2); }
.arp-avatar-fallback {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(237, 237, 237, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  border: 2px solid rgba(237, 237, 237, 0.2);
}
.arp-usermeta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.arp-username {
  font-size: 16px; font-weight: 600; color: rgb(237, 237, 237);
  text-decoration: none; transition: opacity 0.2s ease;
}
.arp-username:hover { opacity: 0.8; }
.arp-ratedlabel { font-size: 14px; color: rgba(237, 237, 237, 0.8); }


.arp-desc-wrap { display: flex; flex-direction: column; gap: 5px; }
.arp-desc {
  font-size: 16px; color: rgba(237, 237, 237, 0.8); margin: 0;
  white-space: pre-line; line-height: 1.8; word-break: break-word; overflow-wrap: break-word;
}


.arp-media-wrap { margin-top: 8px; max-width: 600px; }
.arp-media-grid { display: grid; gap: 5px; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.arp-media-layout1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.arp-media-layout2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.arp-media-layout3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.arp-media-layout3 .arp-media-tile:first-child { grid-row: 1 / span 2; }
.arp-media-layout4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.arp-media-tile { position: relative; width: 100%; height: 100%; margin: 0; padding: 0; border: none; background: #1a1a1a; overflow: hidden; }
.arp-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.arp-media-more {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 30px; font-weight: 700; pointer-events: none;
}


.arp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.arp-tag {
  padding: 5px 16px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(237, 237, 237, 0.2); border-radius: 9999px;
  font-size: 14px; color: rgba(237, 237, 237, 0.8);
}


.arp-engagement {
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px;
  padding-top: 16px; border-top: 1px solid rgba(237, 237, 237, 0.2);
}
.arp-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.arp-action {
  display: flex; align-items: center; gap: 5px; padding: 8px 16px;
  background: transparent; border: 0; border-radius: 9999px;
  color: rgba(237, 237, 237, 0.8); font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
}
.arp-action:hover:not(:disabled):not(.arp-action-stat) { background: rgba(255, 255, 255, 0.1); color: rgb(237, 237, 237); transform: scale(1.05); }
.arp-action:disabled { opacity: 0.6; cursor: not-allowed; }
.arp-action.arp-upvoted { color: #ddff00; }
.arp-action-stat { cursor: default; color: var(--color-text-tertiary); }

.arp-action[hidden] { display: none; }
.arp-icon { width: 18px; height: 18px; flex-shrink: 0; }


.arp-stars { --rs-star: 18px; display: inline-flex; gap: 2px; flex-shrink: 0; }
.arp-star-slot { position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--rs-star); height: var(--rs-star); flex-shrink: 0; }
.arp-star-outline { width: var(--rs-star); height: var(--rs-star); flex-shrink: 0; color: rgba(237, 237, 237, 0.35); }
.arp-star-fill { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; pointer-events: none; display: inline-flex; align-items: center; justify-content: flex-start; }
.arp-star-filled { width: var(--rs-star); min-width: var(--rs-star); height: var(--rs-star); flex-shrink: 0; color: rgb(237, 237, 237); }


.arp-sidebar { display: flex; flex-direction: column; gap: 24px; }
.arp-sidebar .arp-card-wrap { position: sticky; top: calc(var(--header-height) + 32px); }
.arp-card-wrap { width: 100%; }
.arp-sidebar-mobile { display: none; }

.arp-card { background: rgba(237, 237, 237, 0.05); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 20px; }
.arp-card-head { display: flex; justify-content: space-between; align-items: center; }
.arp-card-heading {
  margin: 0; font-family: var(--font-montra), var(--font-body); font-size: 18px; line-height: 22px;
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: rgb(237, 237, 237);
}
.arp-card-row { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.arp-card-cover { position: relative; flex-shrink: 0; width: 56px; height: 80px; border-radius: 4px; overflow: hidden; background: rgba(237, 237, 237, 0.05) center / cover no-repeat; }
.arp-card-middle { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding: 10px 0; }
.arp-card-title { margin: 0; font-family: var(--font-body); font-size: 14px; line-height: 18px; font-weight: 500; color: rgb(237, 237, 237); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arp-card-tagrow { display: flex; flex-wrap: wrap; gap: 5px; }
.arp-card-tagpill { display: inline-flex; align-items: center; padding: 2px 5px; border-radius: 100px; background: rgba(237, 237, 237, 0.1); font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 500; color: rgb(237, 237, 237); white-space: nowrap; }
.arp-card-scorecol { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; flex-shrink: 0; min-width: 58px; }
.arp-card-score { font-family: var(--font-body); font-size: 24px; line-height: 1; font-weight: 800; color: #ddff00; }
.arp-card-fans { font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 500; color: rgba(237, 237, 237, 0.55); }


@media (max-width: 1024px) {
  .arp-wrap { display: flex; flex-direction: column; }
  .arp-sidebar { display: none; }
  .arp-sidebar-mobile { display: flex; flex-direction: column; gap: 24px; width: 100%; }
  .arp-post { gap: 24px; }
}
@media (max-width: 768px) {
  .arp-page { padding-inline: 24px; gap: 32px; }
  .arp-post { gap: 16px; }
  .arp-userblock { gap: 8px; }
  .arp-avatar, .arp-avatar-fallback { width: 40px; height: 40px; }
  .arp-avatarlink > .ao-slot { width: 40px !important; height: 40px !important; margin: 6px !important; }
  .arp-avatar-fallback { font-size: 16px; }
  .arp-username { font-size: 14px; }
  .arp-ratedlabel { font-size: 12px; }
  .arp-engagement { padding: 8px 0; }
  .arp-action { padding: 5px 8px; font-size: 12px; }
  .arp-icon { width: 16px; height: 16px; }
}
@media (max-width: 480px) {
  .arp-page { padding-inline: 16px; }
  .arp-desc { font-size: 14px; }
}


.arp-leavecomment {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 16px;
  border: 0; border-radius: 9999px; background: rgb(237, 237, 237); color: #170d21;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s ease; white-space: nowrap;
}
.arp-leavecomment:hover { opacity: 0.85; }
.arp-leavecomment span { color: #170d21; }
.arp-leavecomment-icon { width: 18px; height: 18px; flex-shrink: 0; }


.arp-comments { display: flex; flex-direction: column; gap: 16px; }
.arp-comments-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.arp-comments-heading { margin: 0; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: rgb(237, 237, 237); }
.arp-comments-sort { display: inline-flex; align-items: center; padding: 3px; border-radius: 9999px; background: rgba(237, 237, 237, 0.08); }
.arp-comments-pill {
  height: 28px; padding: 0 14px; border: 0; border-radius: 9999px; background: transparent;
  color: rgba(237, 237, 237, 0.8); font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease;
}
.arp-comments-pill:hover:not(.arp-comments-pill-active) { color: rgb(237, 237, 237); }
.arp-comments-pill-active { background: rgb(237, 237, 237); color: #170d21; }
.arp-comments-empty { margin: 0; padding: 24px 0; font-family: var(--font-body); font-size: 14px; color: rgba(237, 237, 237, 0.5); text-align: center; }



.arp-report { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0.5); }
.arp-report[hidden] { display: none; }
.arp-report-box { display: flex; flex-direction: column; width: 100%; max-height: 90dvh; overflow-y: auto; background: #170d21; border-radius: var(--radius-panel) var(--radius-panel) 0 0; }
.arp-report-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 16px 20px; border-bottom: 1px solid rgba(237, 237, 237, 0.2); background: #170d21; }
.arp-report-title { margin: 0; font-family: var(--font-montra), var(--font-body); font-size: 18px; letter-spacing: 0.5px; text-transform: uppercase; color: rgb(237, 237, 237); text-align: center; }
.arp-report-close { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); padding: 4px; border: 0; background: none; color: rgba(237, 237, 237, 0.7); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s ease; }
.arp-report-close:hover { color: rgb(237, 237, 237); }
.arp-report-content { flex: 1; padding: 20px; }
.arp-report-question { margin: 0 0 24px; font-family: var(--font-body); font-size: 16px; font-weight: 500; color: rgb(237, 237, 237); }
.arp-report-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.arp-report-chip { height: 30px; padding: 0 10px; background: none; border: 1px solid rgba(237, 237, 237, 0.2); border-radius: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: rgb(237, 237, 237); cursor: pointer; transition: all 0.15s ease; white-space: nowrap; }
.arp-report-chip:hover:not(.arp-report-chip-active) { background: rgba(237, 237, 237, 0.08); }
.arp-report-chip-active { background: rgb(237, 237, 237); color: #170d21; border-color: transparent; border-radius: 9999px; }
.arp-report-other { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.arp-report-other[hidden] { display: none; }
.arp-report-otherlabel { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: rgb(237, 237, 237); }
.arp-report-otherwrap { position: relative; }
.arp-report-otherinput { box-sizing: border-box; width: 100%; height: 102px; padding: 15px; background: rgba(237, 237, 237, 0.05); border: 0; border-radius: 16px; font-family: var(--font-body); font-size: 16px; color: rgb(237, 237, 237); resize: none; }
@media (hover: hover) and (pointer: fine) {
  .arp-report-otherinput { font-size: 14px; }
}
.arp-report-otherinput::placeholder { color: rgba(237, 237, 237, 0.55); }
.arp-report-otherinput:focus { outline: none; }
.arp-report-othercount { position: absolute; bottom: 12px; right: 14px; font-size: 14px; color: rgba(237, 237, 237, 0.55); pointer-events: none; }
.arp-report-footer { position: sticky; bottom: 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(237, 237, 237, 0.2); background: #170d21; }
.arp-report-submit { width: 100%; height: 50px; padding: 0 32px; border: 0; border-radius: 9999px; background: rgb(237, 237, 237); color: #170d21; font-family: var(--font-body); font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.2s ease; }
.arp-report-submit:hover:not(:disabled) { opacity: 0.9; }
.arp-report-submit:disabled { opacity: 0.2; cursor: not-allowed; }
@media (min-width: 768px) {
  .arp-report { align-items: center; }
  .arp-report-box { max-width: 700px; border-radius: 12px; max-height: 80vh; }
  .arp-report-footer { padding-bottom: 16px; }
}



.arp-cmodal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.6); }
.arp-cmodal[hidden] { display: none; }

.arp-cmodal-box {
  position: relative; box-sizing: border-box;
  width: min(600px, 92vw); max-height: 85dvh;
  display: flex; flex-direction: column; overflow: hidden;
  background: #170d21; border: 1px solid rgba(237, 237, 237, 0.2); border-radius: 32px;
  text-align: left;
}

.arp-cmodal-closewrap {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237, 237, 237, 0.05); border-radius: 50%;
}
.arp-cmodal-close { width: 100%; height: 100%; padding: 0; border: 0; background: none; color: rgb(237, 237, 237); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.arp-cmodal-close:hover { color: rgba(237, 237, 237, 0.7); }
.arp-cmodal-content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; width: 100%; text-align: left; }

.arp-cmodal-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; padding-right: 56px; border-bottom: 1px solid rgba(237, 237, 237, 0.2); flex-shrink: 0; }
.arp-cmodal-cover { position: relative; width: 40px; height: 56px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: rgba(237, 237, 237, 0.05) center / cover no-repeat; }
.arp-cmodal-title { margin: 0; font-family: var(--font-montra), var(--font-body); font-size: 18px; color: rgb(237, 237, 237); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arp-cmodal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px 20px 20px; }

body .aoc-ep-scrim { z-index: 201; }
body .aoc-ep { z-index: 202; }

@media (max-width: 640px) {
  .arp-cmodal { align-items: flex-end; padding: 0; }
  .arp-cmodal-box { width: 100%; max-width: none; max-height: 90dvh; border-radius: 32px 32px 0 0; border-bottom: 0; }
}
