/* media-creation — Little Explorer Cinema */
@font-face { font-family: "Baloo2"; src: url("fonts/Baloo2.ttf") format("truetype"); font-weight: 400 700; }
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(180deg, #0B1030 0%, #101A4A 100%); min-height: 100vh;
       font-family: "Baloo2", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; color: #fff; }
a { color: inherit; text-decoration: none; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
          padding: 14px 16px; position: sticky; top: 0; z-index: 10; flex-wrap: wrap;
          background: rgba(11, 16, 48, 0.92); backdrop-filter: blur(6px); border-bottom: 2px solid rgba(255, 210, 74, 0.25); }
.brand { font-size: clamp(18px, 4vw, 26px); font-weight: 700; color: #FFD24A; white-space: nowrap; }
.brand small { display: block; font-size: 15px; color: #DCE4FF; font-weight: 400; }
.playselected { display: none; padding: 12px 24px; border-radius: 999px; font-size: 19px; font-weight: 700;
               background: #7CE38B; color: #0B1030; border: none; cursor: pointer; white-space: nowrap; }
.playselected:hover { background: #A5F0B0; }
.playall { display: inline-block; padding: 12px 28px; border-radius: 999px; font-size: 20px; font-weight: 700;
           background: #FFD24A; color: #0B1030; border: none; cursor: pointer; white-space: nowrap; }
.playall:hover { background: #FFE28A; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px;
        padding: 30px 28px 60px; max-width: 1500px; margin: 0 auto; }
.cardwrap { position: relative; }
.selbox { position: absolute; top: 14px; left: 14px; z-index: 5; width: 30px; height: 30px;
          accent-color: #FFD24A; cursor: pointer; }
.card { background: rgba(255, 255, 255, 0.06); border: 2px solid rgba(255, 210, 74, 0.3); border-radius: 22px;
        overflow: hidden; transition: transform 0.15s, border-color 0.15s; }
.card:hover, .card:focus { transform: translateY(-4px); border-color: #FFD24A; outline: none; }
.card img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.card .t { padding: 14px 18px 16px; }
.card .zh { font-size: 24px; font-weight: 700; }
.card .en { font-size: 17px; color: #DCE4FF; margin-top: 2px; }
.card .meta { font-size: 14px; color: #9FB4D8; margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.card .badge { background: rgba(255, 210, 74, 0.15); color: #FFD24A; padding: 1px 10px; border-radius: 999px; }

.playerwrap { max-width: 1200px; margin: 0 auto; padding: 20px 24px 60px; }
.videobox { position: relative; background: #000; border-radius: 18px; overflow: hidden; border: 2px solid rgba(255, 210, 74, 0.35); }
.videobox video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.vtitle { padding: 18px 6px 4px; }
.vtitle .zh { font-size: 34px; font-weight: 700; }
.vtitle .en { font-size: 20px; color: #DCE4FF; }
.vdesc { color: #B9C8E4; padding: 6px 6px 0; font-size: 16px; }
.chips { display: flex; gap: 10px; padding: 12px 6px; flex-wrap: wrap; align-items: center; }
.chip { padding: 8px 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); cursor: pointer;
        font-size: 17px; font-weight: 700; border: 2px solid transparent; }
.chip.on { background: #FFD24A; color: #0B1030; border-color: #FFD24A; }
.chiplabel { font-size: 15px; color: #9FB4D8; margin-right: 4px; }
.endcard { text-align: center; padding: 40px 0 10px; font-size: 26px; color: #FFD24A; display: none; }
.home { font-size: 18px; color: #DCE4FF; }
.home:hover { color: #FFD24A; }
footer { text-align: center; color: #7487AD; font-size: 14px; padding: 30px 0 40px; }

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; padding: 20px 14px 40px; }
  .playall, .playselected { font-size: 16px; padding: 10px 18px; }
  .vtitle .zh { font-size: 26px; }
  .vtitle .en { font-size: 16px; }
  .chips { gap: 8px; }
  .chip { font-size: 15px; padding: 6px 14px; }
}
