/* 兰 / Lanleaf — Zero-Dependency Web Splash + Restrained Author Promo Drawer */
.ll-splash {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #0B0D12; color: #F4F1EA;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  transition: opacity 0.35s ease;
  cursor: pointer; user-select: none;
}
.ll-splash.ll-paper { background: #F4F1EA; color: #111318; }
.ll-splash.ll-hide { opacity: 0; pointer-events: none; }
.ll-splash-mark { width: min(196px, 32vmin); height: min(196px, 32vmin); }
.ll-splash-wm {
  margin-top: 14px; text-align: center; opacity: 0; transform: translateY(10px);
  transition: opacity 0.65s cubic-bezier(.16,1,.3,1), transform 0.65s cubic-bezier(.16,1,.3,1);
}
.ll-splash-wm.ll-show { opacity: 1; transform: translateY(0); }
.ll-splash-cn { font-size: 30px; font-weight: 700; line-height: 1.15; }
.ll-splash-en {
  margin-top: 5px; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.44em; padding-left: 0.44em;
  opacity: 0.62;
}
.ll-splash-skip {
  position: absolute; bottom: 20px; font-size: 11px; letter-spacing: 0.08em; opacity: 0.4;
}

/* Restrained Bottom-Right Brand Pill (Never interrupts idle gameplay) */
.ll-pill {
  position: fixed; right: 14px; bottom: 10px; z-index: 58;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 7px; border-radius: 999px;
  background: rgba(17, 19, 24, 0.86); color: #F4F1EA;
  border: 1px solid rgba(244, 241, 234, 0.14);
  backdrop-filter: blur(8px);
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  font-size: 12px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.ll-pill.ll-pill-docked {
  position: static;
  min-height: 36px !important;
  height: 36px;
  padding: 0 11px 0 8px !important;
  border-radius: 999px !important;
  margin-right: 4px;
}
.ll-pill.ll-paper,
.full-edition #tools .ll-pill.ll-paper {
  background: rgba(244, 241, 234, 0.94); color: #111318;
  border-color: rgba(17, 19, 24, 0.22);
}
.ll-pill:hover,
.full-edition #tools .ll-pill.ll-paper:hover { transform: translateY(-1px); border-color: #D63324; background: #FFFDF8; color: #111318; }
.ll-pill svg { width: 17px; height: 17px; flex: none; }
.ll-pill .ll-arrow { opacity: 0.65; }

/* Hide floating/docked pill on <=1023px (phone/narrow tablet) to keep bottom toolbar 100% clear; still reachable via Ledger */
@media (max-width: 1023px) {
  .ll-pill { display: none !important; }
}

/* Author / Games Drawer Overlay */
.ll-backdrop {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(8, 10, 14, 0.56); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 18px;
}
.ll-backdrop.ll-open { display: flex; }
.ll-card {
  width: 100%; max-width: 460px; border-radius: 12px; overflow: hidden;
  background: #14171F; color: #F4F1EA;
  border: 1px solid rgba(244, 241, 234, 0.14);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
}
.ll-card.ll-paper {
  background: #F4F1EA; color: #111318;
  border-color: rgba(17, 19, 24, 0.18);
}
.ll-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px; border-bottom: 1px solid rgba(128,128,128,0.18);
}
.ll-card-brand { display: flex; align-items: center; gap: 12px; }
.ll-card-brand svg { width: 34px; height: 34px; flex: none; }
.ll-card-title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.ll-card-sub { font-size: 11.5px; opacity: 0.65; margin-top: 2px; }
.ll-card-actions { display: flex; align-items: center; gap: 6px; }
.ll-icon-btn {
  border: 1px solid rgba(128,128,128,0.28); background: transparent; color: inherit;
  border-radius: 6px; padding: 4px 8px; font-size: 11.5px; cursor: pointer;
}
.ll-icon-btn:hover { border-color: #D63324; }
.ll-card-body { padding: 16px 20px 20px; font-size: 13.5px; line-height: 1.65; }
.ll-card-body p { margin: 0 0 14px; opacity: 0.9; }
.ll-games {
  display: grid; gap: 8px; margin-bottom: 16px;
}
.ll-game-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 11px; border-radius: 7px;
  background: rgba(128,128,128,0.1); font-size: 12.5px;
}
.ll-badge {
  font-size: 10.5px; padding: 2px 7px; border-radius: 999px;
  background: rgba(236, 70, 53, 0.16); color: #EC4635; font-weight: 600;
}
.ll-card.ll-paper .ll-badge { color: #D63324; background: rgba(214, 51, 36, 0.12); }
.ll-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ll-link-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  flex: 1 1 auto; min-width: 92px;
  padding: 8px 13px; border-radius: 7px; text-decoration: none;
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  border: 1px solid rgba(128,128,128,0.28); color: inherit; background: transparent;
}
.ll-link-btn.ll-primary {
  flex: 1 0 100%;
  background: #D63324; border-color: #D63324; color: #FFFFFF;
}
.ll-link-btn:hover { opacity: 0.9; transform: translateY(-1px); }
