.h5p-teaching-birds { font-family: Arial, Helvetica, sans-serif; color: #17212b; }
.h5p-teaching-birds * { box-sizing: border-box; }
.tb-wrap { max-width: 980px; margin: 0 auto; padding: 18px; background: #f6faf7; line-height: 1.55; }
.tb-hero { padding: 28px; border-radius: 18px; background: linear-gradient(135deg, #e9f7ed, #eef7ff); border: 1px solid #d9e9df; margin-bottom: 20px; }
.tb-hero h1 { margin: 5px 0 8px; font-size: 30px; line-height: 1.2; }
.tb-hero p { margin: 0; color: #48555f; }
.tb-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #31754a; }
.tb-card { background: #fff; border: 1px solid #dfe7e2; border-radius: 16px; padding: 22px; margin: 18px 0; box-shadow: 0 3px 12px rgba(25,50,35,.05); }
.tb-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tb-card-head h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.tb-num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: #2f7b4c; color: white; font-weight: 700; flex: 0 0 auto; }
.tb-main-image { display: block; max-width: 100%; height: auto; margin: 16px auto; border-radius: 12px; border: 1px solid #e1e5e2; }
.tb-square { max-height: 440px; }
.tb-feathers { max-height: 430px; }
.tb-wide { width: 100%; }
.tb-textarea { width: 100%; padding: 12px; border: 1px solid #b9c6bf; border-radius: 10px; font: inherit; min-height: 120px; resize: vertical; background: #fff; }
.tb-check, .tb-final, .tb-reset { border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; margin-top: 12px; }
.tb-check, .tb-final { background: #2f7b4c; color: #fff; }
.tb-check:hover, .tb-final:hover { background: #25643e; }
.tb-reset { background: #e8ecea; color: #26332b; }
.tb-feedback { margin-top: 12px; min-height: 24px; padding: 0; font-weight: 700; }
.tb-feedback.good { color: #1e733d; }
.tb-feedback.mid { color: #8a6200; }
.tb-feedback.bad { color: #a43838; }
.tb-dnd-head { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: start; }
.tb-token-bank { min-height: 170px; padding: 12px; border: 2px dashed #b8c9bf; border-radius: 12px; background: #f7fbf8; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.tb-token { padding: 8px 10px; border: 1px solid #97b6a4; background: #fff; border-radius: 8px; cursor: grab; font-weight: 700; }
.tb-token.selected, .tb-class-item.selected { outline: 3px solid #f3b74a; }
.tb-head-stage { position: relative; width: 100%; max-width: 620px; margin: 0 auto; }
.tb-head-stage img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid #e2e6e4; }
.tb-target { position: absolute; min-width: 80px; min-height: 42px; padding: 4px; border: 2px dashed #e17f31; background: rgba(255,249,232,.86); border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tb-target > span { font-weight: 800; color: #93500e; opacity: .65; }
.tb-target .tb-token { cursor: grab; font-size: 12px; padding: 5px 7px; }
.t-beak { left: 0%; top: 34%; }
.t-tongue { left: 8%; top: 52%; }
.t-eye { left: 35%; top: 28%; }
.t-ear { left: 58%; top: 31%; }
.tb-two-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
.tb-two-images figure { margin: 0; }
.tb-two-images img { width: 100%; height: 240px; object-fit: cover; border-radius: 10px; border: 1px solid #dbe4de; }
.tb-two-images figcaption { text-align: center; font-weight: 700; margin-top: 6px; }
.tb-classify-bank { min-height: 70px; padding: 10px; border: 2px dashed #b7c8bd; border-radius: 12px; background: #f7fbf8; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tb-class-item { border: 1px solid #a9baaf; background: white; border-radius: 9px; padding: 9px 11px; cursor: grab; text-align: left; font: inherit; }
.tb-class-item.compact { font-weight: 700; }
.tb-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tb-zone { min-height: 170px; border: 2px solid #c8d8ce; border-radius: 12px; background: #fbfdfb; padding: 10px; cursor: pointer; }
.tb-zone h3 { margin: 0 0 8px; font-size: 17px; color: #2d6040; }
.tb-zone-body { min-height: 110px; display: flex; flex-direction: column; gap: 7px; }
.tb-zone .tb-class-item { width: 100%; }
.tb-match { display: flex; flex-direction: column; gap: 10px; }
.tb-match label { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 10px; background: #f8faf9; border: 1px solid #e2e7e4; }
.tb-match select { width: 100%; padding: 8px; border: 1px solid #acb8b1; border-radius: 7px; background: #fff; }
.tb-blanks { padding-left: 26px; }
.tb-blanks li { margin: 12px 0; }
.tb-blanks input { min-width: 160px; max-width: 280px; padding: 7px 9px; border-radius: 7px; border: 1px solid #adb9b2; font: inherit; }
.tb-blanks input.tb-correct { border-color: #2e8b57; background: #f0fbf4; }
.tb-blanks input.tb-wrong { border-color: #c05757; background: #fff5f5; }
.tb-summary { margin-top: 22px; padding: 24px; background: #183a2a; color: #fff; border-radius: 18px; text-align: center; }
.tb-summary h2 { margin-top: 0; }
.tb-score-ring { width: 160px; height: 160px; border-radius: 50%; margin: 18px auto; border: 10px solid rgba(255,255,255,.22); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tb-score-percent { font-size: 34px; }
.tb-score-raw { font-size: 14px; opacity: .85; }
.tb-summary-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.tb-summary .tb-final { background: #fff; color: #183a2a; }
.tb-summary .tb-reset { background: rgba(255,255,255,.16); color: #fff; }

@media (max-width: 720px) {
  .tb-wrap { padding: 10px; }
  .tb-hero { padding: 20px; }
  .tb-hero h1 { font-size: 24px; }
  .tb-card { padding: 16px; }
  .tb-dnd-head { grid-template-columns: 1fr; }
  .tb-token-bank { min-height: 85px; }
  .tb-two-images, .tb-zones { grid-template-columns: 1fr; }
  .tb-two-images img { height: 210px; }
  .tb-match label { grid-template-columns: 1fr; }
  .tb-target { min-width: 66px; min-height: 36px; }
  .tb-target .tb-token { font-size: 11px; }
}

