/* 새 메인 홈 — 피그마 STU-01 (20:4282) · 처음 가입 STU-01B (1687:8220) · 상세검색 S1 (1687:8158) · 2026-10-14
   값은 피그마 사본(2026-10-14) 그대로 · 폭 1120 · 디자인 저장소(home.css)는 고치지 않고 개발 쪽에 덧붙임 */

.hm-wrap { max-width: 1120px; margin: 0 auto; }
.hm-h2 { margin: 0; font-family: 'NanumSquareNeoExtraBold', 'NanumSquare Neo', 'NanumSquareNeo', var(--vb-font-family, 'Pretendard Variable'), sans-serif; font-weight: 800;
         font-size: 28px; line-height: 1.4; letter-spacing: -0.56px; color: #0f381f; }
.hm-num { display: inline-flex; align-items: baseline; gap: 3px; color: #0f381f; font-size: 15px; white-space: nowrap; }
.hm-num b { font-family: 'NanumSquareNeoExtraBold', 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 800; font-size: 26px; }

/* ── 인사 · 할 일 · 프로필 */
.hm-top { padding-top: 64px; background: #fff; }
.hm-hello { margin: 0 0 12px; font-size: 17px; font-weight: 600; color: #4e6b58; }
.hm-top__row { display: flex; gap: 48px; align-items: flex-start; }
.hm-todo { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hm-title { margin: 0; font-family: 'NanumSquareNeoExtraBold', 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 800; font-size: 28px; line-height: 1.4;
            letter-spacing: -0.56px; color: #0f381f; }
.hm-todo__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #e8eeea; }
.hm-todo__item, .hm-todo__empty { display: flex; align-items: center; gap: 24px; min-height: 150px; padding: 0 4px; border-top: 1px solid #e8eeea; }
.hm-todo__empty { justify-content: space-between; color: #45574c; font-size: 17px; }
.hm-todo__cover { flex: none; width: 81px; height: 116px; border-radius: 6px; background: #e8eeea; overflow: hidden; }
.hm-todo__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-todo__text { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hm-todo__text p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-todo__race { font-size: 15px; font-weight: 700; }
.hm-todo__race.is-tr { color: #6b4fc8; }
.hm-todo__race.is-rr { color: #2569bf; }
.hm-todo__race.is-pick { color: #228a4f; }
.hm-todo__name { font-size: 22px; font-weight: 700; color: #0f381f; }
.hm-todo__name a { color: inherit; text-decoration: none; }
.hm-todo__state { font-size: 17px; color: #45574c; }
.hm-todo__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 44px; padding: 0 16px;
                border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 20px; color: #fff; text-decoration: none; white-space: nowrap; }
.hm-todo__btn.is-tr { background: var(--vb-color-tr-purple, #381a93); }
.hm-todo__btn.is-rr { background: var(--vb-color-rr-blue, #13529a); }
.hm-todo__btn.is-start { background: #228a4f; }
.hm-level { margin: 0; }

.hm-profile { flex: none; width: 340px; margin-top: 57px; padding: 24px 28px 28px; border-radius: 20px; background: #f6f9f7;
              display: flex; flex-direction: column; min-height: 451px; justify-content: space-between; }
.hm-profile > * + * { border-top: 1px solid #e3ebe6; }
.hm-profile > .hm-profile__retest { border-top: 0; }
.hm-profile__who { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 24px; }
.hm-profile__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #dcebe1; flex: none; }
.hm-profile__who p { margin: 0; }
.hm-profile__name { font-size: 19px; font-weight: 700; color: #0f381f; }
.hm-profile__org { margin-top: 2px !important; font-size: 14px; color: #5a6b60; }
.hm-profile__line { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 0; }
.hm-profile__line--last { padding-bottom: 0; }
.hm-profile__label { margin: 0; font-size: 15px; font-weight: 600; color: #45574c; }
.hm-profile__level { font-family: 'NanumSquareNeoExtraBold', 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 800; font-size: 28px; color: #228a4f; }
.hm-profile__test { font-size: 15px; font-weight: 700; color: #228a4f; text-decoration: none; }
.hm-profile__retest { margin: -12px 0 0; padding-bottom: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px;
                      font-size: 13px; color: #5a6b60; }
.hm-profile__retest a { color: #228a4f; font-weight: 600; text-decoration: none; }
.hm-profile__rec { display: flex; flex-direction: column; gap: 14px; padding: 20px 0; }
.hm-race { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.hm-race__row { display: flex; align-items: baseline; justify-content: space-between; }
.hm-race__name { display: inline-flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 700; }
.hm-race__name small { font-size: 14px; font-weight: 600; color: #5a6b60; }
.hm-race--rr .hm-race__name { color: #2569bf; }
.hm-race--tr .hm-race__name { color: #6b4fc8; }
.hm-bar { position: relative; display: block; height: 6px; border-radius: 3px; background: #e1eae4; overflow: hidden; }
.hm-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.hm-race--rr .hm-bar i { background: #2569bf; }
.hm-race--tr .hm-bar i { background: #6b4fc8; }

/* ── 인증 도서 검색 + 상세검색 S1 */
.hm-search { padding-top: 72px; background: #fff; }
.hm-search .hm-h2 { color: var(--vb-color-text-primary, #1f3326); margin-bottom: 20px; }
.hm-search__form { position: relative; }
.hm-search__bar { display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 8px 0 28px; border-radius: 999px;
                  background: linear-gradient(90deg, #eef8ea 0%, #eaf6e6 45%, #d3efd6 100%); }
.hm-search__icon { flex: none; width: 24px; height: 24px; }
.hm-search__input { flex: 1 0 0; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 17px; color: #0f381f; outline: none; }
.hm-search__input::placeholder { color: #7a887f; }
.hm-search__input::-webkit-search-cancel-button { display: none; }
.hm-search__toggle { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 0; border-radius: 999px;
                     background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: #1f6e43; cursor: pointer; }
.hm-search__toggle img { width: 12px; height: 7px; transition: none; }
.hm-search__toggle.is-open { background: #fff; }
.hm-search__toggle.is-open img { transform: rotate(180deg); }
.hm-search__submit { flex: none; width: 128px; height: 56px; border: 0; border-radius: 999px; background: #228a4f; color: #fff;
                     font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.hm-panel { margin-top: 12px; padding: 28px 32px 24px; border: 1px solid #e1e6e3; border-radius: 24px; background: #fff;
            box-shadow: 0 12px 32px rgba(16, 69, 47, .1); }
.hm-panel[hidden] { display: none; }
.hm-panel__row { display: flex; align-items: flex-start; gap: 12px; }
.hm-panel__row + .hm-panel__row { margin-top: 28px; }
.hm-panel__label { flex: none; width: 72px; line-height: 36px; font-size: 15px; font-weight: 700; color: #1f3326; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-chip { height: 36px; padding: 0 16px; border: 1.5px solid #dce6df; border-radius: 999px; background: #fff; font: inherit; font-size: 14px;
           color: #2c3e33; cursor: pointer; white-space: nowrap; }
.hm-chip.is-on { background: #eaf7ec; border-color: #228a4f; color: #228a4f; font-weight: 600; }
.hm-panel__foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #e8eeea; }
.hm-panel__reset { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.hm-panel__reset img { width: 48px; height: 48px; display: block; }
.hm-panel__reset:disabled { cursor: default; opacity: .4; }
.hm-panel__go { height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: #228a4f; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }

/* ── 이달의 추천 도서 */
.hm-rec { padding-top: 72px; background: #fff; }
.hm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.hm-head__tools { display: flex; align-items: center; gap: 10px; }
.hm-select { position: relative; display: inline-flex; }
.hm-select select { appearance: none; -webkit-appearance: none; width: 140px; height: 44px; padding: 0 36px 0 18px; border: 1.5px solid #d5e0d9;
                    border-radius: 12px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: #2c3e33; cursor: pointer; }
.hm-select img { position: absolute; right: 16px; top: 50%; width: 10px; height: 5px; margin-top: -2px; pointer-events: none; }
.hm-pager { padding: 0 4px 0 10px; font-size: 15px; color: #7a887f; white-space: nowrap; }
.hm-pager b { color: #0f381f; }
.hm-arrow { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hm-arrow img { width: 44px; height: 44px; display: block; }
.hm-arrow--prev img { transform: scaleX(-1); }
.hm-arrow:disabled { cursor: default; opacity: .35; }
.hm-tabs { display: flex; gap: 8px; margin-top: 6px; }
.hm-tab { padding: 9px 18px; border: 1.5px solid #e1eae4; border-radius: 999px; background: #fff; font: inherit; font-size: 15px; font-weight: 600;
          color: #4e6b58; cursor: pointer; }
.hm-tab.is-on { background: #0f381f; border-color: #0f381f; color: #fff; }
.hm-books { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.hm-books[hidden], .hm-book[hidden] { display: none; }
.hm-book { position: relative; width: auto; flex: none; }   /* 옛 .h-book(home.css) 폭 고정을 풂 */
.hm-book > a { display: block; color: inherit; text-decoration: none; }
.hm-book__cover { aspect-ratio: 208 / 297; border: 1px solid var(--vb-color-border-default, #e1e6e3); border-radius: 8px;
                  background: var(--vb-color-brand-green-surface, #f1faee); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hm-book__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-book__meta { margin: 14px 0 0; font-size: 12px; line-height: 18px; color: #6b7a70; }
.hm-book__meta b { color: #228a4f; font-weight: 700; }
.hm-book__title { margin: 4px 0 0; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--vb-color-text-title, #0f381f);
                  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-book__author { margin: 3px 0 0; font-size: 13px; line-height: 20px; color: var(--vb-color-text-secondary, #5a6a5f);
                   overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-book__wish { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hm-book__wish img { width: 32px; height: 32px; display: block; }
.hm-books__empty { margin: 28px 0 0; padding: 40px 0; text-align: center; color: #5a6b60; }

/* ── 이달의 다독회원 */
.hm-readers { padding: 72px 0 96px; background: #fff; }
.hm-readers__meta { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.hm-readers__meta span { font-size: 14px; font-weight: 600; color: #4e6b58; }
.hm-readers__meta a { font-size: 15px; font-weight: 700; color: #228a4f; text-decoration: none; }
.hm-podium { display: flex; align-items: flex-end; justify-content: center; gap: 20px; margin-top: 28px; padding: 48px 40px 40px; border-radius: 24px; background: #f1faee; }
.hm-pod { position: relative; flex: 1 0 0; min-width: 0; max-width: calc((100% - 40px) / 3);  /* 한두 명뿐이어도 한 칸 너비 */
          display: flex; flex-direction: column; align-items: center; padding: 32px 24px 28px;
          border-radius: 20px; background: #fff; box-shadow: 0 6px 20px rgba(16, 69, 47, .08); }
.hm-pod--1 { padding: 44px 24px 40px; border: 2px solid #228a4f; box-shadow: 0 10px 28px rgba(16, 69, 47, .14); }
.hm-pod__rank { position: absolute; left: 18px; top: 16px; font-family: 'NanumSquareNeoExtraBold', 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 800;
                font-size: 22px; color: #228a4f; }
.hm-pod--1 .hm-pod__rank { left: 16px; top: 14px; }
.hm-pod__crown { width: 40px; height: 26px; }
.hm-pod--1 .hm-pod__crown { width: 53px; height: 34px; }
.hm-pod__avatar { width: 60px; height: 60px; margin-top: 10px; border-radius: 50%; object-fit: cover; }
.hm-pod--1 .hm-pod__avatar { width: 72px; height: 72px; }
.hm-pod__name { margin: 12px 0 0; font-size: 18px; font-weight: 700; color: #0f381f; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-pod__org { margin: 0; font-size: 14px; color: #5a6b60; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-pod__stats { display: flex; gap: 28px; margin: 20px 0 0; }
.hm-pod__stats div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hm-pod__stats dt { font-size: 13px; font-weight: 600; color: #5a6b60; white-space: nowrap; }
.hm-pod__stats dd { margin: 0; display: flex; align-items: baseline; gap: 2px; font-size: 13px; color: #0f381f; white-space: nowrap; }
.hm-pod__stats dd b { font-family: 'NanumSquareNeoExtraBold', 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 800; font-size: 20px; }

/* ── 좁은 화면 (디자인은 PC 1440 하나 — 넘치지 않게만) */
@media (max-width: 1180px) {
    .hm-wrap { padding: 0 24px; }
    .hm-pod__stats { gap: 16px; }
}
@media (max-width: 960px) {
    .hm-top__row { flex-direction: column; gap: 32px; }
    .hm-profile { width: 100%; margin-top: 0; min-height: 0; }
    .hm-books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-podium { flex-direction: column; align-items: stretch; padding: 24px 16px; }
    .hm-pod { max-width: none; }
    .hm-pod--1 { order: -1; }
}
@media (max-width: 640px) {
    .hm-wrap { padding: 0 16px; }
    .hm-top { padding-top: 40px; }
    .hm-title, .hm-h2 { font-size: 24px; }
    .hm-todo__item { gap: 14px; min-height: 120px; }
    .hm-todo__cover { width: 60px; height: 86px; }
    .hm-todo__name { font-size: 18px; }
    .hm-todo__state { font-size: 15px; white-space: normal !important; }
    .hm-todo__btn { width: auto; padding: 0 14px; }
    .hm-search__bar { height: 60px; padding-left: 18px; gap: 8px; }
    .hm-search__toggle { padding: 8px; font-size: 14px; }
    .hm-search__submit { width: 76px; height: 46px; font-size: 15px; }
    .hm-panel { padding: 20px 16px; }
    .hm-panel__row { flex-direction: column; gap: 6px; }
    .hm-head { flex-wrap: wrap; }
    .hm-select select { width: 120px; }
    .hm-books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
/* ㉜ 메인 홈 모바일 390 (새 디자인 10.14 피그마 STU-01M 1696:8317 · 처음 가입 STU-01BM 1697:8467 · 상세검색 1697:8320 · 1697:8386 · 2026-10-15)
   위쪽 = 로고 · 프로필 원 · 메뉴(이름 글 감춤) · 인사 15 · 제목 22 · 프로필 요약 상자(이름+소속 | 레벨 · 선 · 리딩 · 씽킹 · 포인트 셋) · 할 일(표지 82×117 · 단추는 글 아래)
   검색 = 필터 원 44 만(「검색」 단추 없음) · 추천 도서 = 옆으로 넘기기 132×189 · 다독회원 = 2 · 1 · 3위 나란히 */
@media (max-width: 960px) {
    .gnb__profile > span { display: none; }
    .hm-top { padding-top: 36px; }
    .hm-wrap { padding: 0 20px; }
    .hm-hello { font-size: 15px; font-weight: 600; color: #4e6b58; }
    .hm-title, .hm-h2 { margin-top: 10px; font-size: 22px; }
    .hm-h2 { margin-top: 0; }
    /* 인사 → 제목 → 프로필 → 할 일 차례 */
    .hm-top__row { display: flex; flex-direction: column; gap: 0; }
    .hm-todo { display: contents; }
    .hm-todo > .hm-title, .hm-todo > h1 { order: 1; margin-bottom: 24px; }
    .hm-profile { order: 2; margin-bottom: 12px; }
    .hm-todo__list, .hm-level { order: 3; }
    /* 프로필 요약 */
    .hm-profile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; row-gap: 0; padding: 20px; border-radius: 16px; background: #f6f9f7; box-shadow: none; }
    .hm-profile__who { grid-column: 1 / 3; display: flex; align-items: center; gap: 0; padding: 0 0 18px; border: 0; }
    .hm-profile__avatar { display: none; }
    .hm-profile__who > div { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
    .hm-profile__name { font-size: 16px; }
    .hm-profile__org { font-size: 13px; color: #5a6b60; }
    .hm-profile > .hm-profile__line:not(.hm-profile__line--last) { grid-column: 3; justify-self: end; align-self: start; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; }
    .hm-profile > .hm-profile__line.hm-level-box { grid-column: 1 / 4; justify-self: stretch; justify-content: space-between; margin-bottom: 14px; }
    .hm-profile__line .hm-profile__label { font-size: 13px; font-weight: 600; color: #45574c; }
    .hm-profile__level { font-size: 20px; }
    .hm-profile__retest { grid-column: 1 / 4; margin: -6px 0 12px; }
    .hm-profile__rec { display: contents; }
    .hm-profile__rec > .hm-profile__label { display: none; }
    .hm-race, .hm-profile__line--last { padding-top: 18px; border-top: 1px solid #e3ebe6; }
    .hm-race { display: block; margin: 0; }
    .hm-race__row { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
    .hm-race__name { font-size: 12px; }
    .hm-race__name small { font-size: 11px; }
    .hm-race .hm-bar { display: none; }
    .hm-num b { font-size: 20px; }
    .hm-num { font-size: 12px; }
    .hm-profile__line--last { grid-column: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; }
    .hm-profile__line--last .hm-profile__label { font-size: 12px; font-weight: 700; color: #45574c; }
    /* 할 일 — 표지 82×117 · 단추는 글 아래 */
    .hm-todo__item { display: grid; grid-template-columns: 82px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 18px; row-gap: 10px; align-items: start; min-height: 0; padding: 22px 0; }
    .hm-todo__cover { grid-row: 1 / 3; width: 82px; height: 117px; }
    .hm-todo__text { align-self: end; }
    .hm-todo__race { font-size: 13px; }
    .hm-todo__name { font-size: 17px; }
    .hm-todo__state { font-size: 14px; }
    .hm-todo__btn { grid-column: 2; justify-self: start; align-self: start; width: auto; height: 36px; padding: 0 16px; font-size: 14px; }
    .hm-more__item { display: grid; grid-template-columns: 82px minmax(0, 1fr); column-gap: 18px; row-gap: 10px; height: auto; padding: 16px 12px; }
    .hm-more__cover { grid-row: 1 / 3; width: 82px; height: 117px; }
    .hm-more__btn { grid-column: 2; justify-self: start; width: auto; height: 36px; padding: 0 16px; }
    .hm-more__name { font-size: 17px; white-space: normal; }
    /* 검색 — 필터 원 44 만 */
    .hm-search { padding-top: 64px; }
    .hm-search__bar { height: 56px; padding: 0 8px 0 20px; gap: 10px; }
    .hm-search__input { font-size: 16px; }
    .hm-search__submit { display: none; }
    .hm-search__toggle.hm-filter-btn { width: 44px; height: 44px; }
    /* 이달의 추천 도서 — 제목 + 단계 고르기 · 탭 · 옆으로 넘기기 */
    .hm-rec { padding-top: 64px; }
    .hm-head { flex-wrap: nowrap; align-items: center; }
    .hm-pager, .hm-arrow { display: none; }
    .hm-select select { width: auto; height: 36px; padding: 0 30px 0 12px; border: 1.5px solid #d5e0d9; border-radius: 10px; font-size: 13px; font-weight: 600; }
    .hm-tabs { margin-top: 20px; }
    .hm-books { display: flex; gap: 16px; margin-top: 20px; margin-right: -20px; padding-right: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .hm-books::-webkit-scrollbar { display: none; }
    .hm-books > .hm-book { flex: none; width: 132px; scroll-snap-align: start; }
    .hm-books > .hm-book[hidden] { display: block; }
    .hm-book__cover { width: 132px; height: 189px; border-radius: 6px; }
    .hm-book__meta { margin-top: 12px; font-size: 12px; }
    .hm-book__title { font-size: 15px; }
    .hm-book__author { font-size: 12px; }
    /* 이달의 다독회원 — 2 · 1 · 3위 나란히 */
    .hm-readers { padding-top: 64px; }
    .hm-podium { flex-direction: row; align-items: flex-end; gap: 10px; padding: 28px 12px 20px; border-radius: 18px; }
    .hm-pod { flex: 1 1 0; min-width: 0; padding: 14px 6px 12px; border-radius: 14px; }
    .hm-pod--1 { order: 0; padding: 20px 6px 16px; }
    .hm-pod--2 { order: -1; }
    .hm-pod__avatar { width: 40px; height: 40px; }
    .hm-pod--1 .hm-pod__avatar { width: 48px; height: 48px; }
    .hm-pod__name { font-size: 13px; }
    .hm-pod__org { font-size: 11px; }
    .hm-pod__stats { gap: 2px; font-size: 11px; }
}
/* ㉜-1 모바일 다듬기 — 레벨은 이름 줄 오른쪽 · 탭 연초록 · 다독회원 왕관 안 순위 · 기록 세로 · 「전체 순위 ›」 아래 가운데 · 아래쪽은 사업자 정보만 (STU-01M 1696:8331 · 1696:8412 · 1696:8445 · 1696:8498) */
@media (max-width: 960px) {
    .hm-profile { position: relative; }
    .hm-profile__who { grid-column: 1 / 4; padding-right: 120px; }
    .hm-profile > .hm-profile__line:not(.hm-profile__line--last):not(.hm-level-box) { position: absolute; top: 20px; right: 20px; white-space: nowrap; }
    .hm-profile > .hm-profile__line.hm-level-box { margin-top: -4px; }
    .hm-tab { height: auto; padding: 7px 14px; border: 1.5px solid #e1eae4; background: #fff; font-size: 13px; font-weight: 600; color: #4e6b58; }
    .hm-tab.is-on { border-color: #228a4f; background: #eaf7ec; color: #228a4f; }
    .hm-readers .hm-wrap { position: relative; padding-bottom: 40px; }
    .hm-readers__meta span { font-size: 12px; font-weight: 600; color: #4e6b58; }
    .hm-readers__meta a { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 14px; font-weight: 700; white-space: nowrap; }
    .hm-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
    .hm-pod__crown { width: 35px; height: 23px; margin: 0; }
    .hm-pod--1 .hm-pod__crown { width: 43px; height: 28px; }
    .hm-pod__rank { position: absolute; top: 23px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 11px; color: #fff; z-index: 1; }
    .hm-pod--1 .hm-pod__rank { top: 31px; font-size: 13px; }
    .hm-pod__stats { display: flex; flex-direction: column; align-items: center; margin-top: 6px; }
    .hm-pod__stats > div { display: flex; align-items: baseline; gap: 4px; }
    .hm-pod__stats > div:nth-child(3) { order: -1; }
    .hm-pod__stats dt { font-size: 11px; color: #5a6b60; }
    .hm-pod__stats dd { margin: 0; font-size: 11px; }
    .hm-pod__stats dd b { font-size: 13px; }
    body:has(.hm-wrap) .footer__tagline, body:has(.hm-wrap) .footer__sns, body:has(.hm-wrap) .footer__menu { display: none; }
}
@media (max-width: 960px) {
    .hm-pod--1 .hm-pod__rank { left: 50%; }
    .hm-pod__stats > div { flex-direction: row; gap: 4px; }
    .hm-pod__stats dd { gap: 1px; }
}
/* ㉜-2 모바일 상세검색 — 탭(장르별 · 단계별 · 인증마크별) 하나씩 · 닫기 × · 고른 조건 칩 (피그마 STU-01M 1697:8320 · 1697:8386) · PC 는 감춤 */
.hm-ptabs, .hm-picked { display: none; }
@media (max-width: 960px) {
    .hm-panel { margin-top: 16px; padding: 20px; border: 1.5px solid #228a4f; border-radius: 18px; background: #fff; }
    .hm-ptabs { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; border-bottom: 1px solid #e3ebe6; }
    .hm-ptab { position: relative; padding: 0 0 10px; border: 0; background: none; font-size: 15px; font-weight: 500; color: #5a6b60; cursor: pointer; }
    .hm-ptab.is-on { font-weight: 700; color: #0f381f; }
    .hm-ptab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 2px; background: #228a4f; }
    .hm-panel__close { margin: 0 0 10px auto; padding: 0 2px; border: 0; background: none; font-size: 20px; line-height: 1; color: #5a6b60; cursor: pointer; }
    .hm-panel__row { display: none; }
    .hm-panel__row.is-tab-on { display: block; }
    .hm-panel__label { display: none; }
    .hm-chips { gap: 10px; }
    .hm-panel__foot { flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #e3ebe6; }
    .hm-panel__reset { flex: none; width: 44px; height: 44px; }
    .hm-picked { display: flex; flex: 1 1 0; min-width: 0; flex-wrap: wrap; align-items: center; gap: 8px; }
    .hm-picked__chip { height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: #eaf7ec; font-size: 13px; color: #228a4f; cursor: pointer; }
    .hm-panel__go { flex: 1 1 100%; width: 100%; height: 48px; }
}
/* ㉝ 디자인 변경이력 10.14 다시 맞춤 (2026-10-15 사용자 「자세히 다시 봐줘」)
   상세검색 = 탭(장르별 · 단계별 · 인증마크별) · 칩 L 44 · 단계 묶음 + 개별 단계 · 고른 조건 칩 32 · 「선택한 조건으로 검색」 오른쪽 (피그마 S1 1687:8158 · 1696:8507)
   추천 도서 탭 선택 = 연두 바탕 + 초록 글자 · 테두리 · 다독회원 순위 숫자는 왕관 가운데 · 「이어서 하기」 보라 #755dc0 · 파랑 #4580c4 (STU-01 20:4282) */
.hm-panel { margin-top: 12px; padding: 0 18.5px 18px; border: 1.5px solid #228a4f; border-radius: 20px; background: #fff; }
.hm-ptabs { display: flex; align-items: center; gap: 0; height: 60px; margin: 0; border-bottom: 1px solid #e1e6e3; }
.hm-ptab { position: relative; height: 60px; margin-right: 40px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 16px; line-height: 26px; font-weight: 400; color: #6b766f; cursor: pointer; }
.hm-ptab.is-on { font-weight: 600; color: #0f381f; }
.hm-ptab.is-on::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -1px; height: 3px; border-radius: 2px; background: #228a4f; }
.hm-panel__close { margin-left: auto; padding: 0 4px; border: 0; background: none; font-size: 15px; line-height: 20px; color: #6b766f; cursor: pointer; }
.hm-ppane { display: none; min-height: 168px; padding-top: 33px; }
.hm-ppane.is-on { display: block; }
.hm-plabel { margin: 0 0 4px; font-size: 13px; line-height: 20px; color: #5a6a5f; }
.hm-chips + .hm-plabel { margin-top: 24px; }
.hm-panel .hm-chips { gap: 8px; }
.hm-panel .hm-chip { height: 44px; padding: 0 18px; border: 1px solid #e1e6e3; font-size: 14px; color: #1f3326; }
.hm-panel .hm-chip.is-on { border: 1.5px solid #228a4f; background: #eaf8e6; color: #228a4f; font-weight: 600; }
.hm-chips--stage .hm-chip { width: 82px; padding: 0; }
.hm-panel__foot { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e1e6e3; }
.hm-panel__reset { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 4px; border: 1px solid #e1e6e3; border-radius: 50%; background: #fff; }
.hm-panel__reset img { width: 20px; height: 20px; }
.hm-picked { display: flex; flex: 1 1 0; min-width: 0; flex-wrap: wrap; align-items: center; gap: 8px; }
.hm-picked__chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 11px 0 14px; border: 0; border-radius: 999px; background: #eaf8e6; font: inherit; font-size: 13px; color: #228a4f; cursor: pointer; }
.hm-picked__chip i { font-style: normal; font-size: 14px; }
.hm-panel__go { flex: none; height: 44px; margin-right: 4px; padding: 0 24px; font-size: 14px; font-weight: 600; }
.hm-tab.is-on { background: #eaf7ec; border-color: #228a4f; color: #228a4f; }
.hm-pod { position: relative; }
.hm-pod__rank { left: 50%; transform: translateX(-50%); font-size: 13px; color: #fff; z-index: 1; }
.hm-todo__btn.is-tr { background: #755dc0; }
.hm-todo__btn.is-rr { background: #4580c4; }
.hm-dots { display: none; }
@media (max-width: 960px) {
    .hm-panel { padding: 0 20px 20px; border-radius: 18px; }
    .hm-ptabs { height: 48px; }
    .hm-ptab { height: 48px; margin-right: 20px; padding: 0; font-size: 15px; }
    .hm-ptab.is-on::after { left: 0; right: 0; }
    .hm-ppane { min-height: 0; padding-top: 20px; }
    .hm-plabel { display: none; }
    .hm-chips[data-group="range"] { display: none; }
    .hm-panel .hm-chips { gap: 10px; }
    .hm-chips--stage .hm-chip { width: auto; padding: 0 18px; }
    .hm-panel__foot { flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 20px; }
    .hm-panel__reset { margin-left: 0; }
    .hm-panel__go { flex: 1 1 100%; margin-right: 0; height: 48px; font-size: 15px; }
    .hm-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
    .hm-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d5e0d9; }
    .hm-dots i.is-on { width: 18px; background: #228a4f; }
}
.hm-pod--1 .hm-pod__rank { left: 50%; }
/* ㉝-1 PC 다독회원 순위 숫자 — 왕관 가운데 (왕관 2 · 3위 40×26 · 1위 53×34) */
@media (min-width: 961px) {
    .hm-pod__rank { top: 42px; font-size: 13px; line-height: 1; }
    .hm-pod--1 .hm-pod__rank { top: 58px; font-size: 15px; }
}
@media (max-width: 960px) {
    .hm-todo__list, .hm-todo .h-level, .hm-profile { align-self: stretch; width: 100%; max-width: none; }
}

/* 이달의 추천 도서 하트 — 표지 오른쪽 위(위 8 · 오른쪽 8)에 · 예전 카드(home.css .h-book__wish)의 left 130px · 그림 -6/-4 밀기가 같이 걸려 가운데 쪽으로 밀려 있던 것
   (2026-10-26 사용자 캡처 「하트 위치 이상해」) */
.hm-book .hm-book__wish { left: auto; top: 8px; right: 8px; }
.hm-book .hm-book__wish img { position: static; left: auto; top: auto; width: 32px; height: 32px; }

/* 할 일 빈 줄(「마음에 드는 책을 골라 …」 + 도서 찾기) — 휴대폰(960 이하)에선 글 → 단추 차례로 왼쪽 정렬
   (2026-11-06 사용자 캡처 「잘 나왔던 화면인데 왜 이래」 · 11월이 되어 이달의 추천이 비자 처음 가입 학생에게 추천 책 대신 이 빈 줄이 나왔는데 휴대폰 배치가 없어 단추가 글 위 오른쪽에 떴음) */
@media (max-width: 960px) {
    .hm-todo__empty { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; min-height: 0; padding: 22px 0; font-size: 15px; line-height: 1.6; word-break: keep-all; }
    .hm-todo__empty .hm-todo__btn { width: auto; height: 36px; padding: 0 16px; font-size: 14px; }
}
