/* MIIGO V4 Empty Shell V1
   只做空壳结构，不接 API，不接真实内容，不做最终设计。
   只有 URL 带 shell=1 时才启用。
*/

html.miigo-v4-empty-shell-html,
body.miigo-v4-empty-shell-body {
  margin: 0;
  min-height: 100%;
  background: #f6f6f6;
}

body.miigo-v4-empty-shell-active {
  overflow-x: hidden;
}

body.miigo-v4-empty-shell-active > *:not(#miigo-v4-empty-shell-v1):not(script):not(style):not(link) {
  display: none !important;
}

#miigo-v4-empty-shell-v1 {
  min-height: 100vh;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: #f6f6f6;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  padding-bottom: 92px;
}

.miigo-shell-page {
  min-height: 100vh;
}

.miigo-shell-safe {
  height: 34px;
}

.miigo-shell-slot {
  border: 1px dashed rgba(0,0,0,.14);
  background: rgba(255,255,255,.72);
  color: rgba(0,0,0,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
}

.miigo-shell-search {
  height: 46px;
  margin: 0 22px;
  border-radius: 999px;
}

.miigo-shell-channel-nav {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 18px 22px 0;
  scrollbar-width: none;
}

.miigo-shell-channel-nav::-webkit-scrollbar {
  display: none;
}

.miigo-shell-channel-nav a {
  color: rgba(0,0,0,.52);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.miigo-shell-channel-nav a.is-active {
  color: #111;
  font-size: 21px;
  font-weight: 800;
}

.miigo-shell-hero {
  height: 182px;
  margin: 18px 22px 0;
  border-radius: 16px;
}

.miigo-shell-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: 10px;
  margin: 18px 22px 0;
  overflow-x: auto;
}

.miigo-shell-action {
  height: 50px;
  border-radius: 12px;
}

.miigo-shell-tags {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 22px 0;
  scrollbar-width: none;
}

.miigo-shell-tags::-webkit-scrollbar {
  display: none;
}

.miigo-shell-tag {
  flex: 0 0 auto;
  height: 38px;
  min-width: 76px;
  border-radius: 999px;
}

.miigo-shell-content-title {
  margin: 22px 22px 12px;
  font-size: 18px;
  font-weight: 800;
}

.miigo-shell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  margin: 0 22px;
}

.miigo-shell-card {
  min-width: 0;
}

.miigo-shell-card-img {
  height: 98px;
  border-radius: 13px;
}

.miigo-shell-card-title {
  height: 22px;
  margin-top: 9px;
  border-radius: 7px;
}

.miigo-shell-card-sub {
  height: 18px;
  margin-top: 6px;
  border-radius: 7px;
}

/* 短剧频道单独空壳：不套普通双列 */
.miigo-shell-short-feed {
  position: relative;
  min-height: 100vh;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.miigo-shell-short-bg {
  position: absolute;
  inset: 0;
  background: #202020;
}

.miigo-shell-short-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 26px;
  padding-top: 42px;
  font-size: 18px;
  font-weight: 700;
}

.miigo-shell-short-search {
  position: absolute;
  z-index: 3;
  right: 22px;
  top: 42px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.miigo-shell-short-play {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.miigo-shell-short-rail {
  position: absolute;
  right: 18px;
  top: 45%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.miigo-shell-short-rail .miigo-shell-slot {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.25);
}

.miigo-shell-short-info {
  position: absolute;
  left: 18px;
  right: 86px;
  bottom: 108px;
  z-index: 3;
}

.miigo-shell-short-title {
  height: 24px;
  border-radius: 7px;
  margin-bottom: 10px;
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.25);
}

.miigo-shell-short-desc {
  height: 54px;
  border-radius: 10px;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.miigo-shell-short-buttons {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 76px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.miigo-shell-short-buttons .miigo-shell-slot {
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.24);
  color: rgba(255,255,255,.72);
}

.miigo-shell-bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: 100%;
  max-width: 430px;
  height: 72px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.miigo-shell-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.55);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.miigo-shell-bottom a.is-active {
  color: #111;
  font-weight: 800;
}

.miigo-shell-short-feed .miigo-shell-bottom {
  background: rgba(0,0,0,.86);
  border-top-color: rgba(255,255,255,.12);
}

.miigo-shell-short-feed .miigo-shell-bottom a {
  color: rgba(255,255,255,.72);
}

.miigo-shell-short-feed .miigo-shell-bottom a.is-active {
  color: #fff;
}

/* MIIGO_APP_ME_ENTRY_LINK_20260623 */
.miigo-v4-app-me-entry-link {
    width: 100%;
    min-height: 92px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #0f172a;
    text-decoration: none;
    background: #fff;
}

.miigo-v4-app-me-entry-link strong {
    font-size: 18px;
    font-weight: 950;
}

.miigo-v4-app-me-entry-link span {
    font-size: 13px;
    color: #64748b;
    font-weight: 800;
}
