/* arioso 마이 스튜디오 (www/studio/index.html) — 색·머리·바닥은 site.css, 버튼·패널은 room.css
   arioso-release: r0.7.23 */
.st-hero { position: relative; overflow: hidden; color: var(--ivory);
  background: radial-gradient(120% 100% at 50% 0%, #3b2468 0%, var(--brand) 55%, var(--brand-3) 100%); }
.st-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: -30px; height: 220px; opacity: .1; pointer-events: none;
  background: url(/img/brand/score-bg.svg) repeat-x 0 0 / 1100px 100%; }
.st-hero-in { position: relative; padding-top: 28px; padding-bottom: 26px; }
.st-hero .eyebrow { color: var(--gold-hi); margin-bottom: 6px; }
.st-hero h1 { margin: 0 0 18px; font-size: clamp(22px, 5vw, 32px); letter-spacing: -.03em; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); text-decoration: none; color: inherit; }
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: #cfc6de; }
.stat b small { font-size: 13px; font-weight: 600; color: #cfc6de; margin-left: 2px; }
.week { margin-top: 16px; padding: 14px 14px 10px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.week-h { display: flex; justify-content: space-between; font-size: 12.5px; color: #cfc6de; margin-bottom: 10px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 92px; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar i { display: block; width: 100%; max-width: 30px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); min-height: 3px; }
.bar i.zero { background: rgba(255,255,255,.14); }
.bar span { font-size: 11px; color: #b9afcb; }
.bar.today span { color: var(--gold-hi); font-weight: 800; }

.st-main { padding-top: 8px; padding-bottom: 40px; }
.st-sec { margin-top: 30px; }
.st-sec .block-head { margin-bottom: 12px; }
.st-sec .block-head h2 { font-size: 19px; }

/* 이어서 연습하기: 휴대폰은 옆으로 넘기기 */
.resume { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 78%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
.resume::-webkit-scrollbar { display: none; }
.rc { scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--panel);
  border: 1px solid var(--line); text-decoration: none; color: var(--text); position: relative; min-height: 128px; box-shadow: var(--shadow); }
.rc .t { font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 48px; }
.rc .s { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc .when { margin-top: auto; font-size: 12.5px; color: var(--gold-ink); font-weight: 700; }
.rc .go { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; }
.rc .go svg { width: 18px; height: 18px; margin-left: 2px; }
.rc .room { font-size: 11.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 8px; align-self: flex-start; }

/* 보관함 · 즐겨찾기 줄 */
.list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }   /* 긴 제목이 칸을 넓히지 않게 */
.li { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.li .info { flex: 1; min-width: 0; }
.li .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .s { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .acts { display: flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.pill-k { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 7px; margin-right: 4px; vertical-align: 1px; }
.pill-k.personal { background: #f4ecd9; color: #7a5a1e; }
.pill-k.room { background: var(--accent-soft); color: var(--accent); }
@media (prefers-color-scheme: dark) { .pill-k.personal { background: #3a2f17; color: #e6cc93; } }
.round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; text-decoration: none; }
.round.play { background: var(--accent); color: var(--accent-text); }
.round.play svg { width: 18px; height: 18px; margin-left: 2px; }
.round.off { background: var(--btn); color: var(--faint); pointer-events: none; }
.fav-x { color: #c2416b; background: none; }
.fav-x svg { width: 21px; height: 21px; fill: currentColor; }
.fav-x:hover { background: var(--btn); }
.st-empty { padding: 22px 16px; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: 14px; font-size: 14px; }
.st-empty a { color: var(--accent); font-weight: 700; }

/* 바로가기 */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick a { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px; }
.quick a span { font-size: 12px; color: var(--muted); font-weight: 500; }
.quick a:hover, .rc:hover, .li:hover { border-color: var(--accent); }

@media (min-width: 720px) {
  .st-hero-in { padding-top: 44px; padding-bottom: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: end; }
  .st-hero-in > .eyebrow, .st-hero-in > h1 { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .week { margin-top: 0; }
  .resume { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .st-sec { margin-top: 44px; }
  .st-sec .block-head h2 { font-size: 22px; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
}
