/* APKMOD • DLE Subscribe result page | FastMod / DLE 13.0
   Scoped to the result page; does not restyle site-wide DLE msgboxes. */
.apkmod-sub-result__source:empty {display:none}
.apkmod-sub-result[hidden] {display:none!important}
body.apkmod-sub-result-page #main-content {
  min-height: 540px;
}
.apkmod-sub-result {
  --asr-green: #148e2e;
  --asr-green-deep: #087a2c;
  --asr-ink: #172d35;
  color: var(--asr-ink);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 68px) 16px clamp(56px, 8vw, 100px);
  box-sizing: border-box;
}
.apkmod-sub-result *,
.apkmod-sub-result *::before,
.apkmod-sub-result *::after {box-sizing:border-box}
.apkmod-sub-result__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0f3e7;
  border-radius: 30px;
  box-shadow: 0 20px 64px rgba(24, 128, 65, .09), 0 4px 16px rgba(15, 52, 31, .035);
  max-width: 850px;
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 66px) clamp(22px, 6vw, 66px) 78px;
  text-align: center;
}
/* Wave illustration lives entirely in CSS. No extra PNG/SVG requests. */
.apkmod-sub-result__card::before {
  content:"";
  position:absolute;
  top:-105px;
  right:-95px;
  width:345px;
  height:215px;
  border-radius: 48% 52% 48% 52%;
  background:#ddf8e7;
  z-index:-1;
  transform:rotate(-14deg);
}
.apkmod-sub-result__card::after {
  content:"";
  position:absolute;
  bottom:-116px;
  left:-65px;
  width:calc(100% + 140px);
  height:178px;
  border-radius: 47% 53% 0 0 / 45% 57% 0 0;
  background: linear-gradient(110deg,#e3fae9 9%, #d2f3e7 50%, #e6f9fc 96%);
  z-index:-1;
  transform:rotate(-2.5deg);
}
.apkmod-sub-result__spark {
  position:absolute;
  width:13px;
  height:13px;
  border-radius:5px;
  transform:rotate(24deg);
  background:#b6ee9e;
  z-index:-1;
}
.apkmod-sub-result__spark--left {left:12%;top:25%;width:12px;height:12px;background:#d6f2ad}
.apkmod-sub-result__spark--right {right:12%;top:48%;width:16px;height:16px;background:#b5ebed;transform:rotate(-22deg)}
.apkmod-sub-result__eyebrow {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  background:#edfaf0;
  border:1px solid #dcf2e2;
  border-radius:999px;
  color:#198a40;
  font-size:11px;
  font-weight:800;
  line-height:1.4;
  letter-spacing: .12em;
  text-transform:uppercase;
}
.apkmod-sub-result__eyebrow-dot {
  width:7px;height:7px;border-radius:50%;background:#2cca5a;
}
.apkmod-sub-result__icon {
  margin:24px auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:94px;
  height:94px;
  border-radius:30px;
  background:linear-gradient(145deg,#d5f7df,#f0fff4);
  color:var(--asr-green);
  box-shadow: inset 0 0 0 1px #d5f0de;
  transform:rotate(-5deg);
}
.apkmod-sub-result__icon svg {width:47px;height:47px;transform:rotate(5deg);display:block}
.apkmod-sub-result__heading {
  margin:0 auto 12px;
  max-width:660px;
  font-weight:900;
  font-size:clamp(26px,4vw,38px);
  line-height:1.16;
  letter-spacing:-.028em;
  color:#107c31;
}
.apkmod-sub-result__lead {
  max-width:580px;
  margin:0 auto 20px;
  color:#58736c;
  font-size:15px;
  line-height:1.65;
}
.apkmod-sub-result__message {
  max-width:610px;
  margin:0 auto 26px;
  color:#39534d;
  font-size:14px;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.apkmod-sub-result__message a {color:var(--asr-green);text-decoration:underline;text-underline-offset:3px}
.apkmod-sub-result__message p {margin:0 0 9px}
.apkmod-sub-result__message h1,
.apkmod-sub-result__message h2,
.apkmod-sub-result__message h3,
.apkmod-sub-result__message h4 {font-size:16px;line-height:1.4;color:#1a8543;margin:0 0 8px}
/* Flatten original DLE message box chrome inside our card without hiding its text. */
.apkmod-sub-result__message .berrors,
.apkmod-sub-result__message .ui-cinfo,
.apkmod-sub-result__message .message,
.apkmod-sub-result__message .information,
.apkmod-sub-result__message .alert {
  background:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:inherit;
  padding:0!important;
  margin:0!important;
}
.apkmod-sub-result__actions {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;position:relative;z-index:1}
.apkmod-sub-result__button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  padding:13px 22px;
  min-height:46px;
  min-width:166px;
  border-radius:14px;
  text-decoration:none!important;
  font-weight:800;
  font-size:14px;
  line-height:1.4;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.apkmod-sub-result__button--primary {
  color:#fff!important;
  background:linear-gradient(112deg,#1cb33f,#118c30);
  box-shadow:0 8px 20px rgba(12,142,54,.18);
}
.apkmod-sub-result__button--secondary {
  color:#147b38!important;
  background:#ebf8ef;
  border:1px solid #d7eee1;
}
.apkmod-sub-result__button:hover {transform:translateY(-2px)}
.apkmod-sub-result__button--primary:hover {box-shadow:0 11px 24px rgba(12,142,54,.25)}
.apkmod-sub-result__button--secondary:hover {background:#dff4e7}
.apkmod-sub-result__button:focus-visible {outline:3px solid #27af4d;outline-offset:3px}
.apkmod-sub-result__footnote {
  position:relative;
  z-index:1;
  margin:22px 0 0;
  color:#65827a;
  font-size:12px;
  line-height:1.6;
}
.apkmod-sub-result--notice .apkmod-sub-result__icon {background:#fff4df;color:#d79621;box-shadow:inset 0 0 0 1px #f8e6bf}
.apkmod-sub-result--notice .apkmod-sub-result__heading {color:#9a6519}
.apkmod-sub-result--notice .apkmod-sub-result__eyebrow {color:#ad7018;background:#fff7e9;border-color:#f6e9d0}
.apkmod-sub-result--notice .apkmod-sub-result__eyebrow-dot {background:#e9ad38}
@media(max-width:600px) {
  .apkmod-sub-result {padding:22px 13px 55px}
  .apkmod-sub-result__card {border-radius:23px;min-height:400px;padding:36px 18px 72px}
  .apkmod-sub-result__icon {width:81px;height:81px;border-radius:26px;margin-top:20px}
  .apkmod-sub-result__icon svg {width:40px;height:40px}
  .apkmod-sub-result__lead {font-size:14px}
  .apkmod-sub-result__actions {flex-direction:column;gap:9px}
  .apkmod-sub-result__button {width:100%;max-width:280px}
  .apkmod-sub-result__spark--left {left:5%;top:30%}
  .apkmod-sub-result__spark--right {right:5%;top:52%}
}
@media(prefers-reduced-motion:reduce){.apkmod-sub-result__button {transition:none}.apkmod-sub-result__button:hover {transform:none}}
/* v1.1: server-confirmed statuses use a consistently positive appearance. */
.apkmod-sub-result--good .apkmod-sub-result__message {
  background:#edfbf0;
  border:1px solid #d5f2de;
  border-radius:18px;
  color:#147a38;
  padding:15px 22px;
  max-width:580px;
  font-weight:650;
}
.apkmod-sub-result--notice .apkmod-sub-result__message {
  background:#fff8eb;
  border:1px solid #f6e6c9;
  border-radius:18px;
  color:#8e651b;
  padding:15px 22px;
  max-width:580px;
}

/* Language switch errors are reported without leaving the confirmation page. */
.apkmod-result-lang-notice {
  margin: 15px auto 0;
  max-width: 540px;
  color: #855725;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
