@charset "UTF-8";

:root {
  --dl-primary:      #fe8900;
  --dl-primary-dark: #e67800;
  --dl-orange-lite:  #fff5eb;
  --dl-orange-bd:    #ffe4cc;
  --dl-radius:       12px;
  --dl-btn-radius:   14px;
}

.dlmodal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.dlmodal[hidden] { display: none !important; }
.dlmodal__mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.dlmodal__card {
  position: relative; width: 100%; max-width: 640px;
  max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: var(--dl-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}
.dlmodal__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.1rem;
  border-bottom: 2px solid var(--dl-orange-bd);
}
.dlmodal__title { font-size: .95rem; font-weight: 700; color: var(--dl-primary); }
.dlmodal__x {
  border: 0; background: transparent; cursor: pointer;
  font-size: 22px; line-height: 1; color: #aaa; padding: 0 2px;
}
.dlmodal__x:hover { color: #333; }

.dl { display: flex; flex-direction: column; }
.dl-card { flex: 1; padding: 1.5rem 1.1rem 1.35rem; text-align: center; border-top: 1px solid #f2f2f2; }
.dl-card:first-child { border-top: 0; }
@media (min-width: 560px) {
  .dl { flex-direction: row; }
  .dl-card { border-top: 0; border-left: 1px solid #f2f2f2; }
  .dl-card:first-child { border-left: 0; }
}

.dl-card__icon { color: #2f3336; line-height: 1; margin-bottom: .45rem; }
.dl-card__icon i { font-size: 2.6rem; }
.dl-card__name { margin: 0 0 .55rem; font-size: .95rem; font-weight: 700; color: #333; }

.dl-meta {
  margin: 0 0 1.05rem; color: #777; font-size: .78rem;
  display: flex; flex-wrap: wrap; gap: .15rem 1rem; justify-content: center;
}
.dl-meta__i { white-space: nowrap; }

.dl-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 190px; padding: .68rem 1.15rem;
  border: 0; border-radius: var(--dl-btn-radius);
  background: linear-gradient(180deg, var(--dl-primary), var(--dl-primary-dark));
  color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .5px;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 4px 12px rgba(254, 137, 0, .25);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.dl-btn::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0));
  pointer-events: none;
}
.dl-btn:hover  { transform: translateY(-2px); background: var(--dl-primary-dark); box-shadow: 0 8px 16px rgba(254,137,0,.35); }
.dl-btn:active { transform: translateY(0);    box-shadow: 0 4px 10px rgba(254,137,0,.25); }

.modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none !important; }
.modal__mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.modal__card {
  position: relative; width: 100%; max-width: 420px; max-height: 84vh; overflow-y: auto;
  background: #fff; border-radius: var(--dl-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}
.modal__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.1rem; border-bottom: 2px solid var(--dl-orange-bd);
}
.modal__title { font-size: .95rem; font-weight: 700; color: var(--dl-primary); }
.modal__x { border: 0; background: transparent; cursor: pointer; font-size: 22px; line-height: 1; color: #aaa; padding: 0 2px; }
.modal__x:hover { color: #333; }
.modal__bd { padding: 1rem 1.1rem; }
.modal__status {
  margin: 0 0 .75rem; padding: .6rem .7rem;
  background: var(--dl-orange-lite);
  border-left: 3px solid var(--dl-primary);
  border-radius: 4px; color: #a35800; font-size: .8rem;
}
.modal__bd ol, .modal__bd ul { margin: 0; padding-left: 1.25rem; color: #555; font-size: .86rem; }
.modal__bd li { margin-bottom: .45rem; }
.modal__ft { padding: 0 1.1rem 1.1rem; text-align: right; }
.modal__ok {
  border: 0; border-radius: var(--dl-btn-radius);
  background: linear-gradient(180deg, var(--dl-primary), var(--dl-primary-dark));
  color: #fff; padding: .55rem 1.4rem; font-size: .85rem; font-weight: 600;
  font-family: inherit; cursor: pointer;
}

.gd-reco-slot {
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  min-width: 0;
}
.gd-reco-slot::before {
  content: "";
  width: 58px; height: 58px;
  border: 1px dashed var(--dl-orange-bd);
  border-radius: 13px;
  background: var(--dl-orange-lite);
}
.gd-reco-slot::after {
  content: "";
  width: 68%; min-height: 2.5em;
  border-radius: 4px;
  background: repeating-linear-gradient(
    180deg, #f5f5f5 0 .55em, transparent .55em 1.25em);
}
@media (min-width: 768px) {
  .gd-reco-slot::before { width: 72px; height: 72px; border-radius: 16px; }
}

.row { padding-bottom: 70px; }

@media (max-width: 360px) {
  .dl-btn { min-width: 0; width: 100%; }
}

.reg-msg {
  margin: .6rem 0 .8rem; padding: .55rem .7rem;
  border-radius: 4px; font-size: .82rem; line-height: 1.5;
}
.reg-msg[hidden] { display: none !important; }
.reg-msg--err { background: #fef0f0; border-left: 3px solid #f56c6c; color: #c45656; }
.reg-msg--ok  { background: var(--dl-orange-lite); border-left: 3px solid var(--dl-primary); color: #a35800; }

.reg-foot {
  margin: .7rem 0 0; font-size: .78rem; line-height: 1.6; color: #8a8a8a; text-align: center;
}
.reg-foot a { color: var(--dl-primary); text-decoration: underline; }

.cap-row { display: flex; align-items: stretch; gap: 8px; }
.cap-row .form-control { flex: 1 1 auto; min-width: 0; }
.cap-img {
  flex: 0 0 auto; width: 130px; height: 44px; display: block;
  border: 1px solid #e2e2e2; border-radius: 4px; background: #fff8f0;
  cursor: pointer; user-select: none;
}
.cap-img:hover { border-color: var(--dl-primary); }

#registerModal { background: rgba(0, 0, 0, .5); }
#registerModal.show { display: block; }

#changePwdModal { background: rgba(0, 0, 0, .5); }
#changePwdModal.show { display: block; }
