/* どどスマホ案内☆ */
.ddg-guide[hidden] { display: none !important; }
.ddg-guide {
  --ddg-accent: #ff6f91;
  margin: 0 0 1.4em; padding: 14px 14px 12px; border-radius: 14px;
  background: #fff7f9; border: 2px solid #ffd0dc; color: #333; line-height: 1.6;
}
.ddg-guide--pc_best { background: #f5f8ff; border-color: #cddcff; --ddg-accent: #4a74e8; }
.ddg-guide__head { display: flex; gap: 10px; align-items: flex-start; }
.ddg-guide__icon { font-size: 26px; line-height: 1; flex: none; }
.ddg-guide__body { flex: 1; min-width: 0; }
.ddg-guide__title { margin: 0 0 2px !important; font-weight: 800; font-size: 15px; }
.ddg-guide__text, .ddg-guide__note { margin: 0 !important; font-size: 13px; }
.ddg-guide__note { margin-top: 4px !important; color: #666; }
.ddg-guide__close {
  flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.06); color: #555; font-size: 18px; line-height: 1; cursor: pointer;
}
.ddg-guide__actions, .ddg-cover__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ddg-btn {
  appearance: none; border: 2px solid var(--ddg-accent, #ff6f91); background: #fff; color: var(--ddg-accent, #ff6f91);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer; line-height: 1.3;
}
.ddg-btn--main { background: var(--ddg-accent, #ff6f91); color: #fff; }
.ddg-btn--ghost { border-color: #bbb; color: #666; }

.ddg-list { margin-top: 14px; }
.ddg-list__title { margin: 0 0 8px !important; font-weight: 800; font-size: 14px; }
.ddg-list__items { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ddg-list__items li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ddg-list__items li::before { content: none !important; }
.ddg-card { display: block; text-decoration: none !important; color: inherit !important; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ddg-card__img { display: block; aspect-ratio: 16 / 9; background: #eceff3; }
.ddg-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }
.ddg-card__title { display: block; padding: 6px 8px 8px; font-size: 12px; font-weight: 700; line-height: 1.4; }
@media (min-width: 768px) { .ddg-list__items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ddg-cover {
  margin: 0 0 1.4em; padding: 28px 16px; border-radius: 14px; text-align: center;
  background: repeating-linear-gradient(135deg, #2b2f3a, #2b2f3a 14px, #313643 14px, #313643 28px); color: #fff;
  --ddg-accent: #ff6f91;
}
.ddg-cover__icon { font-size: 40px; margin: 0 !important; line-height: 1.2; }
.ddg-cover__title { margin: 6px 0 0 !important; font-weight: 800; font-size: 15px; }
.ddg-cover__actions { justify-content: center; }
.ddg-cover .ddg-btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }

.ddg-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 99999; transform: translate(-50%, 20px); opacity: 0;
  max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 999px;
  background: rgba(20,22,28,.92); color: #fff; font-size: 13px; transition: opacity .3s, transform .3s;
}
.ddg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* らんど のダークモード */
html.land-dark .ddg-guide { background: #2a2228; border-color: #5a3a46; color: #eee; }
html.land-dark .ddg-guide--pc_best { background: #222838; border-color: #3a4a70; }
html.land-dark .ddg-guide__note { color: #bbb; }
html.land-dark .ddg-guide__close { background: rgba(255,255,255,.1); color: #ddd; }
html.land-dark .ddg-btn { background: transparent; }
html.land-dark .ddg-btn--main { background: var(--ddg-accent); }
html.land-dark .ddg-card { background: #2b2f3a; box-shadow: none; }
html.land-dark .ddg-card__img { background: #3a3f4b; }
