/* home_m.css — 휴대폰 홈 */
.hm-head { align-items: flex-start; }
.hm-head .s28 { line-height: calc(var(--ctl) + 1px); }
.hm-loading .c-skel { min-height: calc(2 * var(--ctl)); }
.hm-error .c-state .t, .hnone .t { font-size: 17px; font-weight: 800; }
.hm-error .c-state .d { font-size: 13px; color: var(--sub); }
.hm-error .c-state .a { margin-top: var(--s2); }
[data-h-basis]:empty { display: none; }

@media (max-width: 760px) and (pointer: coarse) {
  .c-modal .ins-bar,
  .c-modal .ad-options + .ad-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
  }

  .c-modal .ad-options {
    display: grid;
    gap: var(--s2);
    margin-bottom: var(--s4);
  }

  .c-modal .ad-options .ad-check {
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-height: var(--ctl);
    overflow-wrap: anywhere;
  }

  .hm-home,
  .hm-process {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
    min-width: 0;
  }

  .hm-home {
    padding-bottom: calc(var(--ctl) + env(safe-area-inset-bottom));
  }

  .hm-home .c-scope { margin-top: 0; }
  .hm-home .hchips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s2);
    overflow: visible;
  }

  .hm-home .hchips .c-chip { justify-content: center; padding-inline: var(--s1); }
  .hm-home .hero .n i, .hm-missing { font-size: 15px; font-weight: 600; }
  .hm-missing b { font-size: 28px; font-weight: 800; }
  .hm-home .c-row + .c-row { border-top: 1px solid var(--line); }
  .hm-home .c-row .l1 span:first-child { font-size: 15px; font-weight: 600; }
  .hm-home .c-btn { font-size: 13px; }
  .hm-home .c-btn.pri { font-size: 15px; }

  .hm-home .c-row .l1 span:first-child,
  .hm-home .c-row .l2,
  .hm-process .pt {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hm-unm-line,
  .hm-resume,
  .hm-basis {
    display: flex;
    align-items: center;
    gap: var(--s2);
  }

  .hm-unm-line {
    justify-content: space-between;
  }

  .hm-unm-line b {
    white-space: nowrap;
  }

  .hm-unm-line .c-btn {
    flex: none;
  }

  .hm-resume {
    min-height: var(--ctl);
  }

  .hm-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s2);
  }

  .hm-kpis:not(:has([data-wid]:not([hidden]))) {
    display: none;
  }

  .hm-kpis .kpi {
    padding: 0;
    border-radius: 0;
  }

  .hm-kpis > :not([hidden]) + :not([hidden]) {
    border-left: 1px solid var(--line);
    padding-left: var(--s2);
  }

  .hm-kpis .hm-error { grid-column: 1 / -1; padding: 0; }
  .hm-kpis .hm-loading { padding: 0; }
  .hm-kpis .kpi .t { font-size: 13px; font-weight: 600; }
  .hm-kpis .kpi .v { flex-wrap: wrap; }
  .hm-kpis .kpi .v b, .hm-process .pt .tot b { font-size: 28px; font-weight: 800; overflow-wrap: anywhere; }
  .hm-kpis .kpi .d { font-size: 13px; font-weight: 600; }
  .hm-kpis:has(> [hidden]):has(> :not([hidden])):not(:has(.hm-error)) { display: flex; }
  .hm-kpis:has(> [hidden]) > :not([hidden]) { flex: 1; }
  .hm-process .pt .tot i { font-size: 15px; font-weight: 600; }
  .hm-process .pt .w { font-weight: 400; }

  .hm-details > summary {
    min-height: var(--ctl);
    padding: var(--s4);
    cursor: pointer;
  }

  .hm-process {
    margin-top: var(--s2);
  }

  .hm-basis {
    flex-wrap: wrap;
  }

  .hm-basis .c-sel {
    min-width: 0;
    max-width: 100%;
    font-size: 15px;
    font-weight: 400;
  }

  .hm-process .fmt [data-pr] {
    height: var(--ctl);
  }
}

.hhead { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.hhead .hreg { flex: none; }
