/* v2 실데이터용 추가 스타일 (시안 base.css 위에 얹음) */
.boot{padding:120px 20px;text-align:center;color:var(--muted)}
.brand img{height:48px;width:auto;display:block}
.account .btn{padding:8px 14px}
.account .user{font-size:14px;color:#3f5680;font-weight:600}
.hero-art img{opacity:.75}
.hero-stats{display:flex;gap:28px;margin-top:20px;flex-wrap:wrap}
.hero-stats div{font-size:12px;color:#9fb3cc}
.hero-stats b{display:block;font-size:22px;color:#fff;letter-spacing:-.5px;margin-top:2px}

/* 등급 */
.grade{display:inline-grid;place-items:center;min-width:26px;height:22px;padding:0 6px;border-radius:4px;font-size:12px;font-weight:800;color:#fff;letter-spacing:0}
.grade.S{background:#d6336c}.grade.A{background:#f08c00}.grade.B{background:#2461eb}.grade.C{background:#148376}.grade.D{background:#8a94a4}
.photo .grade{position:absolute;top:13px;right:50px}
.badge.gray{background:#f1f3f6;color:#5d6b80}
.badge.green{background:#e6f6f3;color:var(--green)}
.badge.red{background:#fdecef;color:#c92a4b}

/* 카드 */
.photo .noimg{width:100%;height:100%;display:grid;place-items:center;color:#8d9bb0;font-size:13px;background:linear-gradient(135deg,#e7edf5,#d9e2ee)}
.photo .noimg span{display:block;font-size:34px;margin-bottom:4px;text-align:center}
.card.locked .photo{background:linear-gradient(135deg,#1d3150,#12243b)}
.card.locked .photo .noimg{background:none;color:#c6d4e8}
.card.locked h3{color:#5d6b80}
.lock-cta{display:block;margin-top:10px;font-size:12px;color:var(--blue);font-weight:600}
.molit-chip{font-size:11px;color:var(--green);background:#e6f6f3;border-radius:4px;padding:3px 6px;font-weight:600}
.card-body .meta{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:51px}
.locked-banner{background:#12243b;color:#dbe6f5;border-radius:10px;padding:16px 20px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:14px}
.locked-banner b{color:#fff}
.locked-banner .btn{white-space:nowrap}
.pagination button:disabled{opacity:.35;cursor:default}
.pagination .gap{width:auto;padding:0 4px;color:var(--muted)}
.filter .row2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.filter .row2 input{padding:11px 10px}
.checks.grades .check{gap:5px}
.check small{color:#9aa6b6;font-size:11px;margin-left:auto}
.check.lockable .lockico{font-size:11px;color:#b0802d}
.loading-grid .card{height:360px;background:linear-gradient(90deg,#eef2f7 25%,#f6f8fb 50%,#eef2f7 75%);background-size:200% 100%;animation:sh 1.2s infinite;border:0}
@keyframes sh{to{background-position:-200% 0}}

/* 상세 */
.gallery{background:#0f1d31;border-radius:11px;overflow:hidden;display:flex;flex-direction:column}
.gallery .main{position:relative;height:380px;background:#0f1d31}
.gallery .main img{width:100%;height:100%;object-fit:contain}
.gallery .count{position:absolute;right:12px;bottom:12px;background:#0009;color:#fff;font-size:12px;padding:4px 9px;border-radius:12px}
.gallery .thumbs{display:flex;gap:6px;padding:8px;overflow-x:auto;background:#12243b}
.gallery .thumbs button{flex:0 0 76px;height:56px;border-radius:5px;overflow:hidden;opacity:.55;border:2px solid transparent;padding:0}
.gallery .thumbs button.on{opacity:1;border-color:#729cff}
.gallery .thumbs img{width:100%;height:100%;object-fit:cover}
.gallery .empty-photo{height:380px;display:grid;place-items:center;color:#8da2bf;font-size:14px;text-align:center;line-height:1.8}
.detail-summary .badges{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.detail-summary h1{font-size:22px;line-height:1.5}
.kv{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 20px;margin-top:20px;border-top:1px solid var(--line);padding-top:18px}
.kv small{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}
.kv strong{font-size:15px}
.actions{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}
.actions .btn{flex:1;min-width:120px}
.btn.saved{color:var(--blue);border-color:#b9cdfc;background:#eaf0ff}
.secnav{position:sticky;top:0;z-index:5;background:var(--bg);display:flex;gap:4px;overflow-x:auto;padding:12px 0;margin-top:22px;border-bottom:1px solid var(--line)}
.secnav a{padding:9px 14px;border-radius:6px;font-size:14px;font-weight:600;color:#5d6b80;white-space:nowrap}
.secnav a:hover,.secnav a.on{background:#fff;color:var(--blue);box-shadow:0 1px 0 var(--line)}
.dsec{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;margin-top:18px;scroll-margin-top:70px}
.dsec>h2{font-size:19px;display:flex;align-items:center;gap:10px;margin-bottom:6px}
.dsec>h2 small{font-size:12px;color:var(--muted);font-weight:500}
.dsec .data-table th{width:18%}
.dsec .data-table td{word-break:break-all}
.rights-block{margin-top:18px}
.rights-block h3{font-size:15px;margin-bottom:4px}
.rights-empty{font-size:13px;color:var(--muted);padding:12px 0;border-bottom:1px solid var(--line)}
.note-text{white-space:pre-line;font-size:14px;line-height:1.9;color:#3d4c62;margin:6px 0 16px}
.molit-box{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}
.molit-box div{background:#f8fafc;border-radius:8px;padding:16px}
.molit-box small{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}
.molit-box strong{font-size:19px}
.gradebar{display:flex;margin:16px 0 8px;border-radius:6px;overflow:hidden;font-size:12px;font-weight:700;color:#fff;text-align:center}
.gradebar span{flex:1;padding:9px 0;opacity:.35}
.gradebar span.on{opacity:1}
.aside-sticky{position:sticky;top:76px}
.paywall{background:#fff;border:1px solid var(--line);border-radius:12px;padding:44px 30px;text-align:center;max-width:620px;margin:30px auto}
.paywall h2{margin:14px 0 10px}
.paywall p{color:var(--muted);font-size:14px;line-height:1.9}
.paywall .actions{justify-content:center}
.src-note{font-size:12px;color:#8a96a7;margin-top:10px;line-height:1.8}

/* 달력 */
.cal-count{float:right;font-size:11px;background:#12243b;color:#fff;border-radius:10px;padding:1px 7px}
.cal-more{font-size:11px;color:var(--blue);display:block;margin-top:6px}
.cal-day.today{background:#f4f8ff}

/* 로그인/가입 */
.auth-form{display:flex;flex-direction:column;gap:9px;margin-top:14px}
.auth-form input,.auth-form select{width:100%;font-size:14px}
.auth-form .social{display:flex;flex-direction:column;gap:8px}
.auth-form .social a{padding:11px;border-radius:7px;text-align:center;font-weight:600;font-size:14px}
.auth-form .g{border:1px solid #d8dbe0;color:#222}
.auth-form .n{background:#03C75A;color:#fff}
.auth-form .or{text-align:center;font-size:12px;color:var(--muted);margin:6px 0}
.auth-form .line{display:flex;gap:6px}
.auth-form .line input{flex:1}
.auth-form .msg{font-size:13px;color:#c92a4b;min-height:18px}
.auth-form .ok{color:var(--green)}
.auth-form label.agree{font-size:13px;display:flex;gap:7px;align-items:center;color:#4a586d}
.auth-form .switch{font-size:13px;color:var(--blue);text-align:center;margin-top:6px}

.footer .biz{font-size:12px;color:#8a94a4}
.footer a{text-decoration:underline}
@media(max-width:780px){
  .gallery .main,.gallery .empty-photo{height:260px}
  .kv{grid-template-columns:1fr 1fr}
  .molit-box{grid-template-columns:1fr}
  .dsec{padding:18px}
  .dsec .data-table th{width:30%}
  .hero-stats{gap:16px}.hero-stats b{font-size:18px}
  .locked-banner{flex-direction:column;align-items:flex-start}
  .filter form{display:block}
  .filter .field:nth-child(3),.filter .field:nth-child(4){display:block}
  .filter.collapsed form,.filter.collapsed .filter-note{display:none}
  .account .user{display:none}
}

.rtable th{width:auto!important;white-space:nowrap}.rtable td,.rtable th{padding:11px 10px;font-size:13px}
@media(max-width:780px){
  .header-inner{flex-wrap:wrap;height:auto;padding:12px 16px 0;gap:0}
  .brand{flex:1}
  .brand img{height:32px}
  .account{gap:6px}
  .account .btn{padding:7px 10px;font-size:13px}
  .nav{order:3;flex:0 0 100%;height:auto;gap:22px;margin-top:10px;overflow-x:auto}
  .nav a{padding:12px 0}
  .filter .filter-title{cursor:pointer}
  .filter.collapsed .filter-title{border-bottom:0;padding-bottom:0}
  .filter.collapsed .mini-guide{display:none}
  .filter .filter-title .ftoggle{display:inline!important}
  .hero{grid-template-columns:1fr}
  .hero-art{display:none}
}
.filter .filter-title .ftoggle{display:none;font-size:13px;color:var(--blue);margin-left:6px}
