/* Load after the student/teacher page styles. Shared menu targets and gift emphasis. */
.hn-tabs button,
.hn-subtabs button,
.tl-bar #tabs button,
#morePanel button { min-height: 44px; line-height: 1.35; }
.hn-tabs button { font-weight: 800; }
.hn-tabs button > span[aria-hidden],
.hub-menu-icon { flex: none; font-size: 20px; line-height: 1.2; }
.tl-bar #tabs button,
#morePanel button { display: inline-flex; align-items: center; gap: 6px; }
.tl-bar #tabs { align-items: stretch; }
.hub-menu-label { word-break: keep-all; }
/* 2026-11-27 「더 보기」 펼침: teacher-simple.css의 '.ts-panel button > span[aria-hidden] { margin-left:auto }'가
   아이콘을 오른쪽 끝으로 밀어 글자까지 오른쪽에 쏠렸다. 아이콘은 왼쪽, 글자는 그 옆에 둔다 */
#morePanel { min-width: 210px; }
#morePanel button { display: flex; justify-content: flex-start; padding: 8px 12px; }
#morePanel button > .hub-menu-icon { margin-left: 0; color: inherit; font-size: 18px; width: 24px; text-align: center; }
#morePanel button > .hub-menu-label { white-space: nowrap; }
/* 쿠폰·격려 기록 표: 「쿠폰 2장」, 날짜가 두 줄로 갈리지 않게 */
.tbl td.lg-kind, .tbl td.lg-when { white-space: nowrap; }

.hn-tabs button[data-hn-go="gift"],
.tl-bar #tabs button[data-t="spin"] {
  margin: 3px 2px; padding: 8px 16px; border: 1px solid #d59b2d;
  border-bottom: 3px solid #b77916; border-radius: 10px;
  background: #fff4ce; color: #674006; font-weight: 800;
}
.hn-tabs button[data-hn-go="gift"]:hover,
.tl-bar #tabs button[data-t="spin"]:hover { background: #ffeab0; color: #533000; }
.hn-tabs button[data-hn-go="gift"].on,
.tl-bar #tabs button[data-t="spin"].on { background: #ffe092; color: #533000; border-color: #98620d; box-shadow: inset 0 0 0 1px #98620d; }
#quickStart .qs-gift { border-color: #d59b2d; }
#quickStart .qs-gift .qs-txt > b { color: #674006; }

/* Teacher student-detail rewards: clear amounts and comfortable touch targets. */
#mbody .sq-star .ms-star input,
#mbody .sq-star .ms-star button,
#mbody .sq-acts button,
#selpop .sb-num input,
#selpop .sb-num select,
#selpop .sb-q { min-height: 44px; font-size: 16px; }
#mbody .sq-star .ms-star > b,
#selpop .sb-num { color: #334155; font-size: 16px; font-weight: 800; }
#mbody #mStar { padding: 10px 18px; font-weight: 800; }
#mbody .sq-star input:focus-visible,
#mbody .sq-star button:focus-visible,
#selpop input:focus-visible,
#selpop button:focus-visible { outline: 3px solid #4338ca; outline-offset: 2px; }

.hn-tabs button:focus-visible,
.hn-subtabs button:focus-visible,
.tl-bar #tabs button:focus-visible,
.tl-bar .tl-ban button:focus-visible,
#morePanel button:focus-visible,
#quickStart .qs-tile:focus-visible {
  outline: 3px solid #4338ca; outline-offset: -3px;
}

@media (max-width: 1100px) {
  .tl-bar #tabs { flex-wrap: wrap; overflow: visible; gap: 3px; padding-bottom: 5px; }
  .tl-bar #tabs button { padding: 8px 10px; }
  .tl-bar #tabs button[data-t="spin"] { margin: 0; padding: 8px 12px; }
  .tl-bar #tabs .ts-more-btn { margin-left: 0; }
}
@media (max-width: 600px) {
  .hn-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 4px 8px; overflow: visible; }
  .hn-tabs button { justify-content: center; min-width: 0; padding: 8px 3px; font-size: 15px; gap: 5px; border-radius: 8px; }
  .hn-tabs button[data-hn-go="gift"] { margin: 0; padding: 8px 3px; }
  .hn-tabs button > span[aria-hidden] { font-size: 19px; }
  .tl-bar #tabs button { padding: 8px 5px; font-size: 14px; }
  .tl-bar #tabs .hub-menu-icon { font-size: 18px; }
}
@media (max-height: 600px) and (max-width: 700px) {
  .hn-tabs { position: static; }
}
