/* Chapter 06 only. Real models render above separate decorative set layers. */
#chapter-6.grand-jewelry{grid-column:full-start/full-end;position:relative;isolation:isolate;overflow:hidden;overflow:clip;width:100%;max-width:none;margin:0;padding:35px 0 42px;border:0;border-radius:0;background:#edc3cf;color:#782d4c;scroll-margin-top:0}
#chapter-6 .jewelry-salon{position:absolute;inset:0;z-index:-3;pointer-events:none}
#chapter-6 .jewelry-salon img{width:100%;height:100%;object-fit:cover;object-position:center;opacity:.84}
#chapter-6 .jewelry-warmth{position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 50% 30%,#fff5ef33,transparent 65%),linear-gradient(#fae2e333,transparent 65%,#efc3cc88)}
#chapter-6 .jewelry-heading{position:relative;z-index:4;padding:0 24px;max-width:1100px;margin:0 auto;text-align:center}
#chapter-6 .jewelry-heading .eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:15px;letter-spacing:0;background:#ffe9e9db;color:#852f50;padding:6px 24px;border:1px solid #fff7e7;border-radius:40px;box-shadow:0 0 0 3px #c8849266,0 7px 25px #9a36551a}
#chapter-6 .jewelry-heading h2{font-size:clamp(38px,4.4vw,64px);line-height:1.45;letter-spacing:0;margin:15px 0 4px;text-shadow:0 2px 9px #fff6ed}
#chapter-6 .jewelry-heading>p:last-child{font-size:21px;line-height:1.8;color:#7e3552;margin:0}
#chapter-6 .grand-jewelry-experience{position:relative;z-index:3;max-width:1460px;margin:auto;padding:0 3.5%}
#chapter-6 .jewelry-theatre{position:relative;min-height:510px;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;direction:ltr}
#chapter-6:has(.jewelry-information:not([hidden])) .jewelry-theatre{grid-template-columns:minmax(0,1fr) minmax(270px,29%);gap:28px}
#chapter-6 .jewelry-display{position:relative;min-width:0}
#chapter-6 .jewelry-viewer{height:510px;margin:0;border:0;border-radius:0;overflow:hidden;isolation:isolate;background:transparent;position:relative;z-index:3}
#chapter-6 .jewelry-viewer canvas{display:block;width:100%;height:100%;touch-action:none;border-radius:12px}
#chapter-6 .jewelry-viewer canvas:focus-visible{outline:3px solid #a83d65;outline-offset:-5px}
#chapter-6 .model-status{inset:auto 15% 10px;margin:0;font-size:18px;line-height:1.8;color:#732d49;background:#fff1e9e8;border:1px solid #cf9e99;border-radius:24px;padding:5px 14px;z-index:4}
#chapter-6 .model-fallback{direction:rtl;background:#fff0eae8;gap:10px;padding:25px;z-index:5}
#chapter-6 .model-fallback h3{font-size:32px;margin:0;line-height:1.6}
#chapter-6 .model-fallback p{font-size:19px;color:#71404d;line-height:1.8;max-width:420px;margin:0}
#chapter-6 .model-fallback .button{font-size:19px;gap:12px}
#chapter-6 .jewelry-information{position:relative;direction:rtl;text-align:center;z-index:4;margin:15px 0 25px;padding:40px 25px 30px;background:linear-gradient(130deg,#fff5eced,#f7ccdbf5);border:2px solid #fff0d8;border-radius:32px 12px 32px 12px;box-shadow:0 0 0 2px #ce9e91,0 10px 35px #9a4f6726,inset 0 0 0 7px #e5aaad55}
#chapter-6 .jewelry-information:before,#chapter-6 .jewelry-information:after{content:'✧';position:absolute;left:50%;translate:-50% 0;color:#b57e55;background:#ffe4e7;padding:0 17px;font-size:30px;line-height:1}
#chapter-6 .jewelry-information:before{top:-13px}#chapter-6 .jewelry-information:after{bottom:-11px;font-size:23px}
#chapter-6 .jewelry-card-ornament{font-size:35px;color:#ac4d6b;display:block;line-height:1;margin-bottom:17px}
#chapter-6 .jewelry-card-kicker{font-size:14px;color:#995f64;margin:0 0 13px}
#chapter-6 #gift-item-label{font-size:28px;line-height:1.7;margin:0;color:#7d2e4f}
#chapter-6 #gift-description{font-size:22px;line-height:1.95;margin:16px 0 0;color:#7d3550}
#chapter-6 .jewelry-card-rule{height:1px;margin:20px auto 0;width:70%;background:linear-gradient(90deg,transparent,#bd8b66,transparent)}
#chapter-6 #jewelry-final-copy{font-family:Georgia,serif;font-style:italic;color:#782c4b}
#chapter-6 #jewelry-final-copy p{font-size:clamp(21px,2vw,29px);line-height:1.65;margin:8px 0 20px}
#chapter-6 #jewelry-final-copy>span{font-size:34px;color:#a84765}
#chapter-6 .jewelry-roses{position:absolute;width:clamp(110px,18vw,245px);height:75%;left:-7%;bottom:2%;z-index:4;pointer-events:none;transform-origin:bottom;animation:grand-roses-breathe 9s ease-in-out infinite alternate}
#chapter-6 .jewelry-roses img{width:100%;height:100%;object-fit:contain;object-position:left bottom;filter:drop-shadow(0 10px 12px #6b2b4c25)}
#chapter-6 .jewelry-dedication{position:absolute;left:11%;bottom:18%;z-index:4;direction:rtl;transform:rotate(-9deg);padding:12px 20px;border:2px solid #dfb99b;outline:4px solid #fff1e1;background:linear-gradient(140deg,#fff5e6,#f8d9df);box-shadow:3px 5px 10px #894a5e1f;pointer-events:none;font-family:var(--serif);color:#943b5d}
#chapter-6 .jewelry-dedication span{display:block;font-size:22px}#chapter-6 .jewelry-dedication strong{font-size:26px;font-weight:400}
#chapter-6:has(.jewelry-information:not([hidden])) .jewelry-dedication{display:none}
#chapter-6 .jewelry-light-ring{position:absolute;left:50%;top:48%;translate:-50% -50%;width:66%;height:35%;border:1px solid #fff2c9;border-radius:50%;box-shadow:0 0 15px #fff1acbb,inset 0 0 15px #fff2c588;opacity:0;pointer-events:none;z-index:1;transform:rotate(-15deg)}
#chapter-6.jewelry-transitioning .jewelry-light-ring{animation:grand-reveal-light 2s ease-in-out infinite}
#chapter-6 .jewelry-love{position:absolute;z-index:0;inset:5% 5% 12%;width:90%;height:83%;overflow:visible;opacity:0;transition:opacity 1.2s;pointer-events:none}
#chapter-6 .jewelry-love path{fill:none;stroke:#fff5d4;stroke-width:1;stroke-dasharray:2 5;filter:drop-shadow(0 0 4px #fff0a3)}
#chapter-6.jewelry-final .jewelry-love{opacity:.85}
#chapter-6 .viewer-controls{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;gap:24px;margin:-7px auto 18px;padding:9px 20px;max-width:810px;border:1px solid #fff6e7;border-radius:30px;background:#fff0e8e3;color:#783650;box-shadow:0 4px 15px #b4667c15;text-align:center;direction:rtl}
#chapter-6 #viewer-help{font-size:18px;line-height:1.7;margin:0}
#chapter-6 #reset-view{font-size:16px;white-space:nowrap;padding:7px;min-height:44px;color:#8a3353}
#chapter-6 .jewelry-steps{list-style:none;display:flex;justify-content:center;gap:12px;padding:0;margin:12px auto 18px;direction:ltr}
#chapter-6 .jewelry-steps li{width:11px;height:11px;border-radius:50%;background:#fff1ecb3;border:1px solid #fff9e3;box-shadow:0 2px 5px #963e5c30;transition:background .3s}
#chapter-6 .jewelry-steps li.active{background:#a43660;box-shadow:0 0 0 3px #f8d7d8}
#chapter-6 .jewelry-actions{position:relative;z-index:5;min-height:66px;display:flex;align-items:center;justify-content:center}
#chapter-6 .jewelry-primary{font-size:25px;line-height:1.8;letter-spacing:0;min-height:62px;min-width:300px;padding:10px 37px;gap:12px;border:2px solid #ffe9bc;border-radius:50px;background:linear-gradient(#d4779a,#b54672 60%,#a43760);color:#fff7ee;box-shadow:0 0 0 3px #e3a5a9,0 0 20px #ffe7b3a8,inset 0 2px 4px #ffd9e2;transition:filter .2s,transform .2s}
#chapter-6 .jewelry-primary:hover:enabled{filter:brightness(1.08);transform:translateY(-2px)}
#chapter-6 .jewelry-primary:disabled{opacity:.65;cursor:wait}
#chapter-6 .grand-birthday{max-width:1000px;margin:0 auto;text-align:center;color:#8b3053}
#chapter-6.jewelry-final .grand-birthday{animation:grand-birthday-in 1.1s ease both}
#chapter-6 .grand-birthday>span{display:block;font-size:42px;color:#b68a51;text-shadow:0 2px 1px #fff6d9}
#chapter-6 .grand-birthday h3{font-family:'Birthday Script',Georgia,serif;font-size:clamp(33px,4vw,57px);font-weight:400;line-height:1.5;letter-spacing:0;margin:0;padding:10px 28px;background:linear-gradient(115deg,#ffe6ded9,#f6c0d5e8,#ffeddfdf);border:1px solid #c89b6d;border-radius:50px 8px;box-shadow:0 0 0 4px #fff0df9c,0 8px 25px #b4697e24}
#chapter-6 .grand-birthday>i{font-size:21px;font-style:normal;display:block;margin-top:15px;color:#b88d62}
#chapter-6.jewelry-final .jewelry-actions{display:none}
#chapter-6.jewelry-final .jewelry-steps{display:none}
#chapter-6.jewelry-final .grand-birthday>span{line-height:1.2}
@media(min-width:761px){#chapter-6.jewelry-final .jewelry-theatre{min-height:460px}#chapter-6.jewelry-final .jewelry-viewer{height:460px}}
#chapter-6 .jewelry-last-note{display:block;margin:18px auto 0;font-size:18px;min-height:44px;color:#87334f}
#chapter-6 .jewelry-petals,#chapter-6 .jewelry-sparkles{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
#chapter-6 .jewelry-petals i{position:absolute;left:var(--x);top:-25px;width:12px;height:18px;border-radius:80% 10% 80% 10%;background:linear-gradient(135deg,#ffe5e6,#d789a3);opacity:0;animation:grand-petal var(--duration) var(--delay) linear infinite}
#chapter-6 .jewelry-sparkles i{position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;background:#fff6d9;border-radius:50%;box-shadow:0 0 8px #fff2bd;animation:grand-sparkle 4s var(--delay) ease-in-out infinite}
#chapter-6.jewelry-sleeping *,#chapter-6.jewelry-sleeping *:before,#chapter-6.jewelry-sleeping *:after{animation-play-state:paused!important}
@keyframes grand-roses-breathe{to{transform:rotate(1deg)}}
@keyframes grand-reveal-light{0%,100%{opacity:0;scale:.7}45%{opacity:.9;scale:1.1}}
@keyframes grand-petal{0%{opacity:0;transform:translate(0,-20px) rotate(0)}15%,85%{opacity:.5}100%{opacity:0;transform:translate(55px,1300px) rotate(300deg)}}
@keyframes grand-sparkle{0%,100%{opacity:.15;scale:.7}50%{opacity:.9;scale:1.4}}
@keyframes grand-birthday-in{from{opacity:0;transform:translateY(14px);filter:drop-shadow(0 0 14px #fff0ba)}to{opacity:1;transform:translateY(0);filter:drop-shadow(0 0 0 transparent)}}
@media(max-width:1000px){#chapter-6:has(.jewelry-information:not([hidden])) .jewelry-theatre{grid-template-columns:minmax(0,1fr) 270px;gap:10px}#chapter-6 .jewelry-information{padding:30px 20px}#chapter-6 #gift-item-label{font-size:24px}#chapter-6 #gift-description{font-size:20px}#chapter-6 .jewelry-roses{left:-9%;width:150px}#chapter-6 .jewelry-dedication{left:8%}}
@media(max-width:760px){
  #chapter-6.grand-jewelry{padding:28px 0 35px}#chapter-6 .jewelry-heading{padding:0 22px}#chapter-6 .jewelry-heading .eyebrow{font-size:13px;padding:5px 18px}#chapter-6 .jewelry-heading h2{font-size:clamp(32px,7vw,45px);margin:17px 0 7px;line-height:1.65}#chapter-6 .jewelry-heading>p:last-child{font-size:19px}
  #chapter-6 .grand-jewelry-experience{padding:0 16px}#chapter-6 .jewelry-theatre,#chapter-6:has(.jewelry-information:not([hidden])) .jewelry-theatre{display:flex;flex-direction:column;gap:0;min-height:0}#chapter-6 .jewelry-display{width:100%}#chapter-6 .jewelry-viewer{height:420px;margin:0}#chapter-6 .jewelry-information{width:min(470px,calc(100% - 14px));margin:14px auto 22px;padding:23px 27px 25px;border-radius:25px 9px}
  #chapter-6 .jewelry-card-ornament{display:none}#chapter-6 .jewelry-card-kicker{font-size:13px;margin:0 0 8px}#chapter-6 #gift-item-label{font-size:25px;line-height:1.6}#chapter-6 #gift-description{font-size:20px;line-height:1.9;margin-top:11px}#chapter-6 .jewelry-card-rule{margin-top:13px}#chapter-6 #jewelry-final-copy p{font-size:23px;line-height:1.6;margin:7px 0 13px}#chapter-6 #jewelry-final-copy>span{font-size:26px}
  #chapter-6 .jewelry-roses{left:-12%;bottom:2%;width:130px;height:62%}#chapter-6 .jewelry-dedication{left:1%;bottom:5%;padding:8px 14px;transform:rotate(-7deg)}#chapter-6 .jewelry-dedication span{font-size:17px}#chapter-6 .jewelry-dedication strong{font-size:23px}
  #chapter-6 .viewer-controls{flex-direction:column;gap:0;border-radius:20px;margin:0 auto 18px;padding:8px 18px}#chapter-6 #viewer-help{font-size:17px}#chapter-6 #reset-view{font-size:15px}#chapter-6 .jewelry-primary{font-size:22px;min-width:0;width:min(420px,calc(100% - 20px));padding:9px 22px;min-height:60px}#chapter-6 .jewelry-steps{margin:7px auto 20px}
  #chapter-6 .grand-birthday h3{font-size:36px;padding:15px 20px;line-height:1.4}#chapter-6 .grand-birthday>span{font-size:34px}#chapter-6 .jewelry-petals i:nth-child(n+7),#chapter-6 .jewelry-sparkles i:nth-child(n+9){display:none}#chapter-6 .model-status{font-size:16px;inset:auto 8% 10px}
}
@media(max-width:360px){#chapter-6 .jewelry-heading h2{font-size:30px}#chapter-6 .jewelry-heading>p:last-child{font-size:17px}#chapter-6 .jewelry-viewer{height:380px}#chapter-6 .jewelry-roses{width:110px}#chapter-6 #gift-item-label{font-size:23px}#chapter-6 #gift-description{font-size:19px}#chapter-6 .jewelry-primary{font-size:20px;padding:10px 15px}#chapter-6 .grand-birthday h3{font-size:31px}}
@media(max-width:760px){#chapter-6[data-jewelry-state="BOX_CLOSED"] .jewelry-viewer{height:350px}#chapter-6 .jewelry-salon img{height:560px;object-fit:fill;object-position:top}#chapter-6 .jewelry-salon{background:linear-gradient(#eed1d6,#e8b4c7 70%,#f7dde0)}}
@media(prefers-reduced-motion:reduce){#chapter-6 *,#chapter-6 *:before,#chapter-6 *:after{animation:none!important;transition:none!important}#chapter-6 .jewelry-petals,#chapter-6 .jewelry-sparkles{display:none}}
