.achievements-main{width:min(1440px,100%);margin:auto;padding:24px 12px}.achievements-main>h1{padding:0 16px;font-size:clamp(28px,4vw,42px)}.achievements-frame{display:block;width:100%;height:1000px;border:0;background:#0c2b43;border-radius:20px}.chapter-reward{position:relative;border-color:#c9a34e!important}.chapter-reward-badge{width:48px;height:55px;display:grid;place-items:center;background:linear-gradient(135deg,#fff0a8,#c9902c);color:#17384d;clip-path:polygon(50% 0,94% 22%,94% 74%,50% 100%,6% 74%,6% 22%);font-size:20px;float:right;margin:0 0 12px 12px}.chapter-reward h2{color:#ffda79}@media(max-width:500px){.achievements-main{padding:14px 3px}.achievements-main>h1{padding:0 12px}}
.badge-tabs{display:flex;justify-content:center;gap:12px;margin:8px 0 24px}.badge-tabs [aria-pressed=true]{background:#ffdb8b;color:#102634}.badge-content{max-width:1100px;margin:auto}.badge-cover{display:flex;flex-direction:column;align-items:center;gap:25px;max-width:500px;width:100%;min-height:590px;margin:24px auto;padding:45px 30px;border:7px double #bda060;border-radius:12px 28px 28px 12px;color:#ffe4a4;background:radial-gradient(ellipse at 60% 35%,#214b5b,#102634 70%);box-shadow:inset 18px 0 12px #0005,12px 14px 0 #d8c4a0,18px 21px 35px #0007;cursor:pointer}.badge-cover strong{font-size:clamp(32px,5vw,48px);line-height:1.1}.badge-eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase}.cover-medallion{width:145px;height:145px}.cover-medallion img{width:100%;height:100%;object-fit:contain}.book-hint{text-align:center;margin:40px 0}.book-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0}.book-toolbar label{min-width:0;flex:1}.book-toolbar select{display:block;width:100%;max-width:620px;margin-top:8px;padding:10px;border-radius:10px;background:#173747;color:#fff;border:1px solid #bd9a51;font:inherit}.badge-book{display:grid;border:8px solid #224352;border-radius:15px;background:#e5d1a8;box-shadow:0 16px 35px #0007;overflow:hidden}.badge-book.spread{grid-template-columns:1fr 1fr}.badge-paper{color:#243847;background:linear-gradient(100deg,#efdfbd,#fff3d9 12%,#f7e9cb 92%,#ddc7a0);padding:26px 22px 15px;min-width:0;display:flex;flex-direction:column}.spread .badge-paper+.badge-paper{border-left:2px solid #c7ad7e;background:linear-gradient(90deg,#ccb58f,#f7e9cb 6%,#fff3d9 88%,#ebd9b7)}.badge-paper header{min-height:118px;border-bottom:1px solid #bba279;text-align:center}.badge-paper h2{font-size:clamp(19px,2.2vw,27px);line-height:1.2;margin:10px 0 18px;color:#253b45}.badge-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;padding:24px 0;flex:1}.badge-slot{background:transparent!important;border:0!important;color:#293d46!important;padding:0!important;display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0;cursor:pointer;border-radius:12px}.badge-slot:disabled{opacity:1;cursor:default}.badge-slot img,.badge-disc{display:grid;place-items:center;aspect-ratio:1;width:min(125px,100%);object-fit:contain}.badge-disc{border:5px double #af8c47;border-radius:50%;font-size:34px;background:radial-gradient(circle,#f7d486,#b98329);color:#173744}.badge-disc.empty{background:#d7c6a5;box-shadow:inset 0 3px 10px #56421c33;border:2px dashed #a28d68}.slot-number{font-size:13px;font-weight:bold}.slot-label{font-size:12px;line-height:1.3;min-height:32px;max-width:185px}.badge-paper footer{text-align:center;font-size:12px;border-top:1px solid #bba279;padding-top:14px}.book-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0}.book-navigation span{font-size:12px;text-align:center}.badge-dialog{background:#102b3b;color:#fff4dc;border:2px solid #c9a34e;border-radius:25px;padding:32px;max-width:560px;width:calc(100% - 28px);max-height:90dvh;overflow:auto;text-align:center;box-sizing:border-box}.badge-dialog::backdrop{background:#04121cdb}.badge-close{position:absolute;right:12px;top:10px;background:transparent;color:#ffe1a0;font-size:30px;border:0;cursor:pointer}.badge-large{width:min(280px,65vw);aspect-ratio:1;margin:20px auto;display:grid;place-items:center}.badge-large img,.badge-large .badge-disc{width:100%;height:100%;object-fit:contain}.badge-large .badge-disc{font-size:80px}.badge-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.badge-dialog h2{font-size:25px;line-height:1.2}.badge-dialog p{line-height:1.5}.badge-slot:focus-visible,.badge-cover:focus-visible{outline:3px solid #2183b1;outline-offset:5px}.chapter-reward-badge{clip-path:none;border-radius:50%;width:55px;height:55px;border:3px double #f8dfa0}@media(max-width:759px){.badge-paper{padding:22px 14px 14px}.badge-paper header{min-height:95px}.book-toolbar{align-items:flex-end}.book-toolbar .text-button{font-size:12px}.book-navigation .secondary{font-size:13px;padding:12px 9px}.badge-dialog{padding:30px 18px}.badge-cover{min-height:490px}.badge-slots{gap:18px 10px}.badge-slot img,.badge-disc{width:112px;max-width:100%}}
/* Illustrated collection book, v2. Live text and controls over AI-painted paper. */
.badge-content{max-width:1440px}.book-stage{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:start;filter:drop-shadow(0 22px 25px #0008)}.badge-book{border:0;border-radius:14px;background:url('assets/book/open-book.png') center/100% 100% no-repeat;box-shadow:none;overflow:visible;padding:4% 4.5% 4%;position:relative;min-height:760px}.badge-book.spread{column-gap:7%}.badge-paper,.spread .badge-paper+.badge-paper{background:none;border:0;padding:0;color:#47351f}.badge-paper header{height:170px;min-height:170px;border:0;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:0 4%}.book-journey{display:block;font:clamp(20px,2.2vw,32px)/1.2 Georgia,serif;margin-bottom:12px;color:#64451e}.badge-paper h2{font:clamp(19px,1.8vw,26px)/1.18 Georgia,serif;color:#4f381c;margin:9px 0}.spread .badge-paper:nth-child(2) header{justify-content:flex-start;padding-top:5px}.spread .badge-paper:nth-child(2) header .book-journey,.spread .badge-paper:nth-child(2) header h2{visibility:hidden}.badge-paper .badge-eyebrow{font-size:10px;letter-spacing:.13em}.badge-slots{padding:5px 2% 10px;gap:18px 12px;align-content:start}.badge-slot img,.badge-disc{width:clamp(90px,10.5vw,150px)}.badge-disc.empty{position:relative;border:4px double #b18a43;background:radial-gradient(ellipse at 65% 65%,#fff6df38,#a88a5535);box-shadow:inset 3px 4px 7px #56360f55,1px 2px 2px #fff9ddcc;box-sizing:border-box}.badge-disc.empty:after{content:'❧';font:65px Georgia;color:#9c875b66;transform:rotate(-45deg);text-shadow:1px 1px #fff8dcaa}.badge-slot{gap:5px}.slot-number{font-size:13px;font-weight:500;color:#372b1e}.slot-label{font-size:10px;min-height:13px;color:#65553d}.badge-slots:has(>.badge-slot:nth-child(5):last-child)>.badge-slot:last-child{grid-column:1/-1}.badge-paper footer{border:0;font-family:Georgia,serif;margin-top:auto;padding-top:5px;color:#5c4224}.book-ribbons{padding-top:42px;display:flex;flex-direction:column;gap:8px;margin-left:-4px;z-index:1}.book-ribbons p{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#f6dfad;text-align:center;margin:0 0 10px}.book-ribbons button{display:flex;align-items:center;gap:12px;min-height:70px;padding:10px 13px;background:linear-gradient(110deg,#07151e,#17343b);border:1px solid #9d7840;border-radius:0 12px 12px 0;color:#fff0d0;box-shadow:inset 0 0 0 4px #071a25,2px 4px 5px #0007;text-align:left;cursor:pointer;font:inherit}.book-ribbons button span{font-family:Georgia,serif;color:#dec080;font-size:17px}.book-ribbons button b{font-size:14px;line-height:1.2;font-weight:500}.book-ribbons button[aria-current=page]{background:linear-gradient(115deg,#ae7c31,#f2d88e 40%,#d8ac57);color:#122735;box-shadow:inset 0 0 0 3px #eccc84,2px 4px 5px #0007}.book-ribbons button[aria-current=page] span{color:#2c3d3d}.book-ribbons .ribbon-more{border-radius:9px;min-height:42px;align-self:center;margin-top:5px}.book-toolbar label{visibility:hidden;max-width:65%}.book-toolbar{margin:8px 0}.book-toolbar .text-button{background:transparent;border:0;color:#eacb87;cursor:pointer;font:inherit}.book-navigation{padding:0 2%;color:#eddfbd}.badge-cover{background:linear-gradient(100deg,#04131caa,#102d3dee),url('assets/book/open-book.png') center/cover;border:9px double #bc9650;box-shadow:inset 20px 0 18px #0009,7px 4px #d4bc87,12px 9px #bba377,15px 14px #081b27,20px 25px 40px #0008}.badge-cover strong{font-family:Georgia,serif;font-weight:400}.badge-slot:focus-visible,.book-ribbons button:focus-visible{outline:3px solid #087aa3;outline-offset:3px}
@media(min-width:760px){.badge-book.single{grid-template-columns:1fr 1fr;column-gap:7%}.badge-book.single:after{content:'❧';display:grid;place-items:center;font:100px Georgia;color:#ac8b4555}}
@media(max-width:1000px) and (min-width:760px){.book-stage{grid-template-columns:minmax(0,1fr) 135px}.book-ribbons button{min-height:65px;padding:8px;gap:6px}.book-ribbons button b{font-size:12px}.badge-book{min-height:680px}.badge-paper header{height:145px;min-height:145px}.badge-slot img,.badge-disc{width:100px}.slot-label{font-size:9px}}
@media(max-width:759px){.book-stage{display:block}.book-ribbons{display:none}.book-toolbar label{visibility:visible;max-width:78%;font-size:12px}.badge-book{background-size:200% 100%;background-position:left center;min-height:710px;padding:8% 9% 9% 13%}.badge-paper header{min-height:145px;height:auto;margin-bottom:18px}.book-journey{font-size:27px}.badge-paper h2{font-size:22px}.badge-slot img,.badge-disc{width:112px}.badge-slots{gap:22px 12px}.badge-paper footer{padding-top:18px}.book-navigation span{max-width:120px}.book-navigation{gap:6px}.slot-label{font-size:10px}.badge-cover{width:90%}}
@media(prefers-reduced-motion:reduce){.badge-book{scroll-behavior:auto}}
.badge-book{padding:5% 7% 7%;min-height:0}.badge-paper footer{margin-top:10px;line-height:20px}.spread .badge-paper:nth-child(2) header .book-journey,.spread .badge-paper:nth-child(2) header h2{display:none}.spread .badge-paper:nth-child(2) header{padding-top:0}.badge-disc.empty:after{content:'';width:42%;height:55%;transform:rotate(18deg);background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 90'%3E%3Cg fill='none' stroke='%239f8654' stroke-width='1.5' opacity='.5'%3E%3Cpath d='M24 82 Q32 48 38 8 M30 57 Q6 46 14 32 Q31 38 30 57 M34 41 Q51 25 54 37 Q50 50 32 53 M27 70 Q8 60 9 51 Q24 54 27 70 M36 28 Q24 14 31 7 Q39 14 36 28 M30 64 Q48 53 50 63 Q46 74 26 77'/%3E%3C/g%3E%3C/svg%3E")}
@media(max-width:759px){.badge-book{padding:10% 10% 16% 15%}.badge-paper header{min-height:145px}.badge-paper footer{margin-top:10px;padding-top:0}.badge-paper h2{font-size:21px}}
/* Complete twelve-section book v3 */
body.hey316-book-scene{background-image:linear-gradient(#07192535,#07192555),url('assets/book/terrace.webp')!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important;background-color:#0b1e29!important}
.hey316-book-scene .badge-content{max-width:1320px}.hey316-book-scene .book-toolbar,.hey316-book-scene .book-navigation{color:#fff0d4;text-shadow:0 1px 4px #000}.book-navigation{background:#071925c9;border:1px solid #b99a6044;border-radius:12px;padding:10px 12px}.book-toolbar .text-button{background:#071925dc;padding:10px 15px;border:1px solid #bda263;border-radius:8px}.badge-book{background-image:var(--section-art,url('assets/book/section-01.webp'));background-color:transparent}.book-mobile-art{display:none}.badge-cover{position:relative;width:min(440px,90%);aspect-ratio:2/3;min-height:0;padding:17% 9% 9%;border:0;border-radius:14px;background:url('assets/book/cover.webp') center/100% 100% no-repeat;box-shadow:15px 25px 35px #0009;gap:18px}.badge-cover .badge-eyebrow{position:absolute;top:16%;left:14%;right:14%;font-size:12px}.badge-cover strong{position:absolute;top:24%;left:14%;right:14%;font-size:clamp(27px,4vw,42px);text-shadow:0 2px 2px #000}.badge-cover .cover-medallion{visibility:hidden}.badge-cover>span:nth-last-child(2){position:absolute;bottom:22%;left:15%;right:15%;font-size:12px;line-height:1.5}.badge-cover>b{position:absolute;bottom:13%;left:15%;right:15%;font-size:16px;font-weight:500}.book-hint{background:#071925bf;border-radius:8px;max-width:440px;padding:12px;margin:30px auto}.book-ribbons button{position:relative}.book-ribbons button:after{content:'';position:absolute;inset:5px;border:1px dashed #ddc18a38;border-radius:0 8px 8px 0;pointer-events:none}.book-ribbons p{background:#071925d9;padding:9px 4px;border-radius:8px}.badge-paper{transform-origin:left center}.badge-paper:nth-child(2){transform-origin:right center}.book-navigation button:disabled{opacity:.45}.book-toolbar label{color:#fff3d4}.hey316-book-scene .badge-tabs button{background:#071925e6;color:#f6dfab;border:1px solid #b79b61}.hey316-book-scene .badge-tabs button[aria-pressed=true]{background:#e5bd6f;color:#152d3a}
@media(max-width:759px){body.hey316-book-scene{background-attachment:scroll!important;background-position:25% top!important}.badge-book{background-image:url('assets/book/section-01.webp');padding-top:12%}.book-mobile-art{display:block;height:145px;width:100%;background-image:var(--section-art);background-size:225% 340%;background-position:96% 5%;border-radius:10px;margin:0 0 22px;box-shadow:0 1px 6px #6c4a1822}.badge-paper header{margin-bottom:16px}.badge-cover{padding:0;min-height:0}.badge-cover strong{font-size:30px}.book-toolbar label{max-width:72%}.book-toolbar .text-button{padding:9px;font-size:11px}.book-ribbons{display:none}}
@media(max-width:759px){.badge-book{padding-bottom:24%}.book-mobile-art{background-size:250% 350%;background-position:89% 5%}}
@media(min-width:760px){.badge-paper header,.spread .badge-paper:nth-child(2) header{height:310px;min-height:310px}.badge-slots{padding:20px 10% 22px;gap:24px 14px}.badge-slot img,.badge-disc{width:132px}.badge-paper footer{padding-top:10px}.badge-paper h2{font-size:25px}}
/* V9: clear cover emblem and improve page typography. */
.badge-cover{box-sizing:border-box;display:block;padding:0;aspect-ratio:2/3}
.badge-cover .badge-eyebrow{top:14%;left:17%;right:13%;font-size:13px;line-height:1.4}
.badge-cover strong{top:20%;left:17%;right:13%;font-size:clamp(29px,3.2vw,40px);line-height:1.08;text-align:center;text-wrap:balance}
.badge-cover>span:nth-last-child(2){bottom:23%;font-size:14px}
.badge-cover>b{bottom:15%;font-size:18px}
.badge-paper .slot-number{font-size:18px;font-weight:550;line-height:1.3}
.badge-paper .slot-label{font-size:14px;line-height:1.4;min-height:20px}
.badge-paper footer{font-size:15px}
.badge-paper .badge-eyebrow{font-size:12px;letter-spacing:.08em;line-height:1.5}
@media(min-width:1001px){.badge-paper h2{font-size:32px;line-height:1.16;text-wrap:balance}.book-journey{font-size:34px}.badge-paper header{padding:0 2%}.badge-slot{gap:7px}}
@media(min-width:760px) and (max-width:1000px){.badge-paper h2{font-size:26px}.book-journey{font-size:27px}.badge-paper .slot-number{font-size:16px}.badge-paper .slot-label{font-size:13px}}
@media(max-width:759px){.badge-cover strong{font-size:clamp(26px,7.6vw,34px)}.badge-cover .badge-eyebrow{font-size:11px}.badge-cover>span:nth-last-child(2){font-size:12px}.badge-cover>b{font-size:16px}.badge-paper h2{font-size:25px;line-height:1.2}.badge-paper .slot-number{font-size:16px}.badge-paper .slot-label{font-size:13px}}

/* Match the site's rounded section-heading font in the book. */
.badge-paper h2,#platform .badge-paper h2{font-family:var(--font-ui,Fredoka,sans-serif);font-size:32px;line-height:1.16;margin:9px 0;text-wrap:balance}
@media(min-width:760px) and (max-width:1000px){.badge-paper h2,#platform .badge-paper h2{font-size:26px}}
@media(max-width:759px){.badge-paper h2,#platform .badge-paper h2{font-size:25px;line-height:1.2}}

/* An actual gift attachment in the conversation, followed by a saved receipt. */
.badge-dialog .experience-dialog-nav ~ .badge-close{display:none}
.chat-badge-gift{width:min(100%,360px);margin:12px 0 18px;padding:24px 20px;text-align:center;background:radial-gradient(circle at 50% 18%,#345567,#152d3a 75%);border:1px solid #c8ad66;border-radius:22px;color:#fff2cc;box-shadow:0 10px 30px #0003}
.chat-badge-art{width:160px;height:160px;margin:0 auto 18px;display:grid;place-items:center}
.chat-badge-art img,.chat-badge-art .badge-disc{width:100%;height:100%;object-fit:contain;border-radius:50%}
.chat-badge-gift h3{font:600 clamp(20px,4vw,26px)/1.25 Fredoka,system-ui,sans-serif;margin:0 0 18px;color:#fff2cc}
.chat-badge-gift .gift-receipt{font-size:16px;line-height:1.45;color:#ffe39a;margin:12px 0}
.gift-actions{display:grid;gap:10px}.chat-badge-gift button{min-height:48px;white-space:normal;width:100%;font-size:16px}
@media(max-width:480px){.chat-badge-gift{padding:20px 16px}.chat-badge-art{width:140px;height:140px}}

/* Illustrated keepsake on the completed conversation card. */
.chapter-reward-badge{background:none;border:0;width:64px;height:64px}.chapter-reward-badge img,.chapter-reward-badge .badge-disc{width:100%;height:100%;object-fit:contain}
