/* LoveyDovey: values copied from the live app's computed styles at 1440x900. */
@import url("/skins/fonts.css");

.skin-loveydovey { background: #191919; color: #fff; font: 500 16px/24px "Pretendard Variable", Pretendard, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; }
.skin-loveydovey svg { width: 100%; height: 100%; }

/* Rail: 54px, 1px #303030 edge, 40px buttons (8px radius) 12px apart; the active one filled #303030. */
.ld-rail { position: fixed; inset: 0 auto 0 0; z-index: 10; width: 54px; padding: 16px 0; display: flex; flex-direction: column; align-items: center;
  gap: 12px; background: #191919; border-right: 1px solid #303030; }
.ld-rail-button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #757575; }
.ld-rail-button svg { width: 24px; height: 24px; }
.ld-rail-button.is-active { background: #303030; color: #e8e8e8; }
.ld-rail-button:hover { color: #e8e8e8; }
.ld-rail-create span { width: 26px; height: 26px; padding: 3px; display: flex; border-radius: 50%; border: 1.5px solid currentColor; }
.ld-rail-create span svg { width: 100%; height: 100%; }

/* 1300px column centered in the space right of the rail. */
.ld-page { margin-left: 54px; }
.ld-strip, .ld-topbar, .ld-main, .ld-footer, .ld-detail-bar, .ld-detail { width: 1300px; max-width: calc(100% - 46px); margin-left: auto; margin-right: auto; }
.ld-strip { height: 72px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; background: #342228; }
.ld-strip-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; }
.ld-strip-copy { flex: 1; min-width: 0; }
.ld-strip-cta { flex: none; height: 36px; padding: 0 16px; display: flex; align-items: center; border-radius: 8px; background: #ff5a98;
  font-weight: 600; font-size: 14px; line-height: 20px; white-space: nowrap; }
.ld-strip-copy p { font-weight: 600; font-size: 15px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 900px; }
.ld-strip-copy a { margin-top: 4px; display: flex; align-items: center; color: #ff5a98; font-size: 14px; line-height: 18.2px; }
.ld-strip-copy a svg { width: 18px; height: 18px; color: #ff2e7f; }
.ld-topbar { height: 60px; padding: 16px 20px 12px; display: flex; align-items: center; justify-content: space-between; }
.ld-logo { height: 28px; display: flex; align-items: center; font-weight: 800; font-size: 20px; letter-spacing: -0.4px; color: #ff5a98; }
/* Search, bell and avatar share one 32px box so their centers line up 12px apart. */
.ld-top-actions { display: flex; align-items: center; gap: 12px; }
.ld-top-icon { width: 32px; height: 32px; padding: 5px; display: flex; color: #fff; }
.ld-avatar { width: 32px; height: 32px; display: block; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1px #303030; }
.ld-avatar svg { display: block; }

/* Title, genre pills (35px, 20px radius), tabs with a 2px pink underline, sort controls on the right. */
.ld-main { padding: 0 20px; }
.ld-title { padding: 12px 0 12px; font-weight: 600; font-size: 18px; line-height: 25.2px; }
.ld-genres { display: flex; flex-wrap: wrap; gap: 6px; }
.ld-genre { height: 35px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 2px; border: 1px solid #303030; border-radius: 20px;
  font-size: 14px; line-height: 21px; white-space: nowrap; }
.ld-genre.is-active { border-color: #ff5a98; color: #ff5a98; }
.ld-genre svg { width: 14px; height: 14px; color: #ff2e7f; }
.ld-tabbar { margin-top: 8px; height: 38px; display: flex; align-items: center; justify-content: space-between; }
.ld-tabs { display: flex; gap: 16px; }
.ld-tab { padding: 6px 0; border-bottom: 2px solid transparent; color: #a3a3a3; font-size: 14px; line-height: 19.6px; letter-spacing: -0.28px; }
.ld-tab.is-active { border-bottom-color: #ff5a98; color: #fff; font-weight: 700; }
.ld-sort { display: flex; align-items: center; gap: 8px; color: #a3a3a3; font-size: 12px; line-height: 18px; }
.ld-check { display: flex; align-items: center; gap: 4px; color: #bababa; }
.ld-check svg { width: 16px; height: 16px; }
.ld-select { display: flex; align-items: center; gap: 2px; padding: 4px 8px; border-radius: 15px; }
.ld-select svg { width: 15px; height: 15px; }

/* Grid: 4 x 303px, 16px columns, 20px rows. Square art with a 20px radius and #303030 hairline. */
.ld-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.ld-card a { display: flex; flex-direction: column; }
.ld-card-media { position: relative; aspect-ratio: 1; margin-bottom: 8px; overflow: hidden; border: 1px solid #303030; border-radius: 20px; }
.ld-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.ld-views { position: absolute; top: 12px; left: 12px; height: 22px; padding: 4px 8px; display: flex; align-items: center; gap: 2px; border-radius: 100px;
  background: rgba(0, 0, 0, 0.55); font-size: 12px; line-height: 14px; letter-spacing: -0.24px; }
.ld-views svg { width: 12px; height: 12px; }
.ld-card-text { display: flex; flex-direction: column; gap: 4px; }
.ld-card-name { font-weight: 700; font-size: 16px; line-height: 19.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-card-hook { margin-bottom: 2px; color: #bababa; font-size: 13px; line-height: 16.9px; letter-spacing: -0.26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-card-tags { color: #a3a3a3; font-size: 13px; line-height: 15.6px; letter-spacing: -0.26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Detail: sticky 56px action bar, 960px block: 377x472 art (12px radius) + 543px info column 40px apart. */
.ld-detail-bar { height: 57px; padding: 14px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #303030;
  position: sticky; top: 0; z-index: 5; background: #191919; }
.ld-back { width: 32px; height: 32px; padding: 4px; display: flex; transform: scaleX(-1); color: #fff; }
.ld-detail-actions { display: flex; gap: 8px; }
.ld-detail-actions .ld-action { width: 32px; height: 32px; padding: 5px; display: flex; color: #fff; }
.ld-detail { padding: 40px 0 92px; }
.ld-detail-top { width: 960px; max-width: 100%; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.ld-detail-media { position: relative; flex: 0 0 377px; height: 472px; overflow: hidden; border-radius: 12px; }
.ld-detail-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.ld-counter { position: absolute; top: 12px; right: 12px; padding: 2px 10px; border-radius: 100px; background: rgba(0, 0, 0, 0.6); font-size: 12px; line-height: 18px; }
.ld-counter em { font-style: normal; color: #bababa; }
.ld-detail-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ld-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ld-detail-head h1 { font-weight: 600; font-size: 20px; line-height: 26px; }
.ld-detail-sub { margin-top: 6px; color: #a3a3a3; font-size: 15px; line-height: 21px; }
.ld-like { flex: 0 0 42px; height: 42px; padding: 10px; border: 1px solid #303030; border-radius: 50%; color: #ff5a98; }
.ld-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ld-chip { padding: 4px 6px; border: 1px solid #ff5a98; border-radius: 6px; background: #342228; color: #ff5a98; font-size: 14px; line-height: 21px; }
.ld-quote { padding: 14px 16px; border-radius: 8px; background: #252525; color: #bababa; font-size: 15px; line-height: 21px; }
.ld-facts { margin-top: 8px; padding: 18px 0; display: grid; grid-template-columns: 126px 1fr; gap: 12px 30px; border-top: 1px solid #303030; border-bottom: 1px solid #303030; }
.ld-fact-label { display: flex; align-items: center; gap: 8px; color: #a3a3a3; font-size: 14px; line-height: 21px; }
.ld-fact-label svg { width: 20px; height: 20px; color: #8c8c8c; }
.ld-fact-value { color: #bababa; font-size: 14px; line-height: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-ctas { margin-top: 14px; display: flex; gap: 12px; align-items: center; }
.ld-cta-secondary, .ld-cta { flex: 1; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 15px;
  line-height: 21px; letter-spacing: -0.3px; }
.ld-cta-secondary { background: #303030; }
.ld-cta { background: #ff5a98; }
.ld-cta-icon { flex: 0 0 52px; height: 52px; padding: 14px; border: 1px solid #303030; border-radius: 8px; color: #ff4081; }
.ld-detail-tabs { width: 960px; max-width: 100%; margin: 40px auto 0; display: flex; gap: 24px; border-bottom: 1px solid #303030; }
.ld-detail-tabs > span, .ld-detail-tabs > a { padding: 12px 0; color: #8c8c8c; font-size: 16px; line-height: 22.4px; }
.ld-detail-tabs .is-active { color: #fff; border-bottom: 2px solid #fff; }
.ld-detail-body { width: 960px; max-width: 100%; margin: 24px auto 0; color: #d4d4d4; font-size: 15px; line-height: 24px; white-space: pre-line; }
.ld-detail-body blockquote { margin: 16px 0 0; padding: 14px 16px; border-radius: 8px; background: #252525; }
.ld-related { width: 960px; max-width: 100%; margin: 48px auto 0; }
.ld-related h2 { font-weight: 600; font-size: 18px; line-height: 25.2px; }
.ld-related .ld-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ld-footer { padding: 32px 20px 64px; color: #8c8c8c; font-size: 12px; line-height: 18px; }

@media (max-width: 899px) {
  .ld-rail { display: none; }
  .ld-page { margin-left: 0; }
  .ld-strip, .ld-topbar, .ld-main, .ld-footer, .ld-detail-bar, .ld-detail { max-width: 100%; }
  .ld-grid, .ld-related .ld-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .ld-sort { display: none; }
  .ld-detail-top { flex-direction: column; padding: 0 16px; }
  .ld-detail-media { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .ld-detail-tabs, .ld-detail-body, .ld-related { padding: 0 16px; }
}
