.rrdd-result.rrdd-unified-result.rrdd-collectible{inset:60px 0 0!important;overflow:auto!important;background:radial-gradient(ellipse at 0 0,var(--collector-glow,#eee0ff),transparent 65%),var(--collector-paper,#fff9ef)!important;padding:22px clamp(16px,4vw,70px) 30px!important;color:var(--collector-ink,#51316f)!important}
.rrdd-collectible>h2{color:var(--collector-ink,#51316f)!important}.rrdd-collectible .rrdd-completion-layout{grid-template-columns:minmax(280px,.9fr) minmax(380px,1.1fr);align-items:start;max-width:1100px;max-height:none;flex:0 0 auto;gap:38px;padding-top:10px}
.rrdd-collectible .rrdd-certificate-preview{position:sticky;top:12px;align-self:start;min-height:0!important}
.rrdd-collectible .rrdd-certificate-preview canvas{width:min(100%,420px)!important;height:auto!important;aspect-ratio:5/7;max-height:none;border-radius:24px;box-shadow:0 20px 45px #5a30723d,0 0 0 2px #f4d47b}
.rrdd-collectible .rrdd-certificate-form{padding:22px;background:#fffcf8;border-color:var(--collector-line,#e4d4e9);box-shadow:0 12px 28px #522d6b0c}
.rrdd-collectible .rrdd-certificate-form h3{font-size:23px!important;color:var(--collector-ink,#51316f)!important}
.rrdd-collectible .rrdd-card-score-details{margin:0 0 14px}.rrdd-collectible .rrdd-card-score-details summary{background:transparent;padding:4px 0;min-height:30px;font-size:12px;color:#6a5a75}
.rrdd-collectible .rrdd-save-certificate{display:block;width:100%;min-height:48px;padding:11px;border:2px solid #e1b84f!important;border-radius:14px;background:#ffdb6d!important;color:var(--collector-ink,#503063)!important;font:bold 17px 'Trebuchet MS',sans-serif;box-shadow:0 4px #ba8b32;margin:14px 0 0}
.rrdd-collectible .rrdd-join-leaderboard{background:var(--collector-soft,#f4eafa)!important;border:1px solid var(--collector-line,#d7c3e6)!important;box-shadow:0 2px #d2bcdf!important;font-size:14px!important;min-height:44px!important}
.rrdd-card-sharing{margin:22px 0 16px;padding:14px;border:1px solid var(--collector-line,#dcc7e7);background:var(--collector-soft,#f8f0fc);border-radius:18px;color:var(--collector-ink,#51316f)}
.rrdd-card-sharing h4{font:800 19px/1.2 'Trebuchet MS',sans-serif;margin:0 0 6px}.rrdd-card-sharing>p{font-size:12px;line-height:1.4;margin:0 0 12px}
.rrdd-card-share-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:10px}
.rrdd-card-share-buttons button{min-height:44px;min-width:0;padding:9px 5px;font:700 13px 'Trebuchet MS',sans-serif;border:1px solid var(--collector-line,#d4bddf);border-radius:12px;background:white;color:var(--collector-ink,#51316f);cursor:pointer}
.rrdd-card-share-buttons button:nth-child(1){background:#98448d;color:white;border-color:#98448d}.rrdd-card-share-buttons button:nth-child(2){background:#2866ad;color:white;border-color:#2866ad}.rrdd-card-share-buttons button:disabled{opacity:.45;cursor:default}
.rrdd-card-sharing textarea{display:block;box-sizing:border-box;width:100%;height:126px;resize:vertical;padding:10px;border:1px solid #d4c2df;border-radius:12px;background:#fffdf9;color:#574762;font:13px/1.5 'Trebuchet MS',sans-serif;user-select:text}
.rrdd-card-sharing small{display:block;font-size:11px;line-height:1.45;margin-top:8px;color:#78667f}.rrdd-card-sharing .rrdd-card-share-status{font-size:12px;line-height:1.4;color:#345f47;margin:8px 0 0;min-height:0}.rrdd-card-share-status:empty{display:none}
@media(max-width:700px){.rrdd-result.rrdd-unified-result.rrdd-collectible{inset:48px 0 0!important;padding:16px 12px 25px!important}.rrdd-collectible .rrdd-completion-layout{grid-template-columns:1fr;gap:20px;padding-top:0}.rrdd-collectible .rrdd-certificate-preview{position:static}.rrdd-collectible .rrdd-certificate-preview canvas{width:min(86vw,350px)!important}.rrdd-collectible .rrdd-certificate-form{padding:16px}.rrdd-collectible .rrdd-award-intro{font-size:13px!important}.rrdd-card-sharing{padding:11px}.rrdd-card-sharing textarea{font-size:14px}}
@font-face{font-family:Froople;src:url('/play/a-little-loose-thread/art/Froople.ttf')}
.rrdd-collectible .rrdd-certificate-preview canvas{aspect-ratio:5/7!important}

.rrdd-chimelong-collectible{--collector-ink:#17476b;--collector-glow:#b9eff4;--collector-paper:#f5fcfb;--collector-soft:#dff5f5;--collector-line:#a3d2dc}
body.rrdd-adventure .rrdd-chimelong-collectible .rrdd-card-avatar-arrow{background:#197f9b;box-shadow:0 3px #11546b66}
body.rrdd-adventure .rrdd-chimelong-collectible .rrdd-share-choice input{accent-color:#197f9b}
/* Keep the canvas legible while the main page retains only the child's next actions. */
body.rrdd-adventure .rrdd-collectible .rrdd-card-avatar-arrow.avatar-previous{left:calc(37% - 50px)}
body.rrdd-adventure .rrdd-collectible .rrdd-card-avatar-arrow.avatar-next{right:calc(37% - 50px)}
body.rrdd-adventure .rrdd-collectible .adv-award-form>.rrdd-share-choice{min-height:44px}
@media(max-width:700px) and (orientation:portrait){
 body.rrdd-adventure .rrdd-collectible .adv-award-form>h3{font-size:16px!important;white-space:nowrap}
}
@media(max-width:700px) and (orientation:portrait) and (max-height:650px){
 body.rrdd-adventure .adv-completion-panel.rrdd-collectible>h2{display:none!important}
}
body.rrdd-adventure .rrdd-collectible .rrdd-card-avatar-arrow{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:50%!important;color:#fff1a8!important;font-size:34px!important;line-height:1!important;box-sizing:border-box}
