/* 희올람 꼬마 장인 시상식 player: full-screen navy stage, 9:16 canvas letterboxed, controls over a soft scrim. */
.cer { position: fixed; inset: 0; z-index: 140; display: grid; grid-template-rows: auto 1fr auto; background: #070B19; color: #fff; animation: cer-in .35s var(--ease); }
@keyframes cer-in { from { opacity: 0; } }
.cer__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.12); z-index: 2; }
.cer__fill { position: absolute; inset: 0; background: linear-gradient(90deg, #F0681A, #F2CF7A); transform-origin: 0 50%; transform: scaleX(0); }
.cer__top { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); z-index: 2; display: flex; gap: 8px; }
.cer__ibtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cer__ibtn .ic { width: 22px; height: 22px; }
.cer__ibtn:hover { background: rgba(255,255,255,.2); }
.cer__stage { grid-row: 1 / 3; display: grid; place-items: center; min-height: 0; padding: env(safe-area-inset-top, 0px) 0 0; }
.cer__cv { display: block; height: 100%; max-height: 100dvh; max-width: 100vw; aspect-ratio: 9 / 16; object-fit: contain; }
.cer__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 48px max(16px, env(safe-area-inset-left, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, rgba(7,11,25,.92), rgba(7,11,25,0)); }
.cer__play { display: flex; justify-content: center; }
.cer__skip { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px 0 18px; border-radius: var(--r-pill); background: rgba(255,255,255,.14); color: #fff; font-size: 14px; font-weight: 500; }
.cer__skip .ic { width: 18px; height: 18px; }
.cer__end { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; }
.cer__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn--ghost-w { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: var(--r-sm); background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.btn--ghost-w:hover { background: rgba(255,255,255,.2); }
.btn--ghost-w:disabled { opacity: .5; }
.btn--ghost-w .ic { width: 18px; height: 18px; }
.cer__rec { margin: 2px 0 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.72); }
.cer__offscreen { position: fixed; left: -99999px; top: 0; width: 1080px; height: 1920px; pointer-events: none; }
@media (min-width: 900px) {
  .cer__stage { padding: 24px 0 120px; }
  .cer__cv { border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
}

/* Ceremony launcher card on the certificate page */
.cer-cta { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: linear-gradient(120deg, #0E1530, #1B2547); color: #fff; text-align: left; width: 100%; }
.cer-cta__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: radial-gradient(circle at 30% 25%, #F6DE98, #B8862E); color: #3A2606; }
.cer-cta__icon .ic { width: 30px; height: 30px; }
.cer-cta b { display: block; font-size: 15px; }
.cer-cta small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.72); }
.cer-cta > .ic { width: 20px; height: 20px; color: rgba(255,255,255,.7); }

/* Award summary under the certificate */
.award-box { padding: 16px; border-radius: var(--r-md); background: var(--c-band); }
.award-box__k { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--c-brand-ink); }
.award-box__k .ic { width: 14px; height: 14px; }
.award-box__t { margin: 6px 0 4px; font-size: 18px; font-weight: 900; letter-spacing: -0.02em; }
.award-box__c { margin: 0; font-size: 14px; color: var(--c-text-2); }
