.cg-page{max-width:1100px;padding:1rem 1rem 4rem;margin:auto;color:#18313c;font:18px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}.cg-page h1{font-size:clamp(2rem,6vw,3.5rem)}.cg-tag{font-size:.8em;font-weight:800;letter-spacing:.05em}.cg-status{padding:1rem;border-left:4px solid #315d69;background:#e7f1f3;white-space:pre-wrap}.cg-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.cg-card{padding:1rem;border:1px solid #aac1c5;border-radius:18px;background:#fff;display:flex;flex-direction:column}.cg-card h2{font-size:1.5rem}.cg-card button{margin-top:auto}.cg-page .button{font-size:18px;min-width:48px;min-height:48px;white-space:normal}.cg-page button:disabled{opacity:.55;cursor:not-allowed}.cg-page fieldset{min-width:0;border:1px solid #98afb6;border-radius:12px;padding:1rem;margin:1rem 0}.cg-page legend{font-weight:700}.cg-field{display:flex;flex-direction:column;gap:.25rem;margin:.8rem 0}.cg-field>span{font-weight:600}.cg-field input,.cg-field select,.cg-field textarea,.cg-page section>label>input,.cg-actions select{font:inherit;color:#18313c;width:100%;max-width:100%;padding:.65rem;border:1px solid #78949b;border-radius:8px;background:#fff;box-sizing:border-box;min-height:48px}.cg-field small{font-size:.8em}.cg-error{color:#912b38}.cg-actions,.cg-review-nav{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.cg-review-nav button[data-reviewed=true]{outline:2px solid #287667;outline-offset:2px}.cg-confirm{display:flex;align-items:center;gap:.8rem;margin:1rem 0;min-height:48px}.cg-confirm input{width:26px;height:26px;flex-shrink:0}.cg-page>section{margin-top:1.5rem}.cg-page pre{white-space:pre-wrap;font:inherit}.cg-page :focus-visible{outline:3px solid #245e9d;outline-offset:3px}.cg-copy{padding:1rem;background:#eaf2f3;white-space:pre-wrap}.cg-page .cg-transfer-details{padding:1rem;background:#edf3f4;border-radius:12px}.cg-page summary{min-height:48px;cursor:pointer}@media(max-width:750px){.cg-cards{grid-template-columns:1fr}.cg-page{padding:.75rem .7rem 3rem}.cg-page fieldset{padding:.7rem}}
.cg-page .cg-confirm input{width:26px;min-height:26px;height:26px;flex:0 0 26px;padding:0}.cg-confirm{max-width:100%}
/* Dedicated public authoring. Experimental catalog and game engines retain their own styles. */
.pg-editor{max-width:1220px}.pg-editor h1{margin-bottom:.4rem}.pg-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;padding:0;margin:1.7rem 0;counter-reset:step}.pg-steps li{padding:.75rem .55rem;border-bottom:3px solid #c9d9de;font-size:.9rem;color:#4e626a}.pg-steps li::before{counter-increment:step;content:counter(step) " · ";font-weight:800}.pg-steps li[data-current=true]{color:#154e68;border-color:#1d7487;font-weight:800}.pg-editor-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:1.4rem;align-items:start}.pg-editor .pg-card{background:#fff;border:1px solid #bdcfd5;border-radius:18px;margin:0 0 1.2rem;padding:1.3rem}.pg-editor .pg-card legend{padding:0 .4rem;font-size:1.2rem}.pg-card>p{margin-top:.2rem;color:#4b616c}.pg-preview{position:sticky;top:1rem;background:linear-gradient(140deg,#eaf4f7,#f8f5ef);border:1px solid #c3d6dc;border-radius:20px;padding:1.2rem;min-width:0}.pg-preview h2{font-size:1.4rem;margin-top:0}.pg-preview-people{display:flex;gap:1rem;justify-content:center}.pg-preview figure{margin:.5rem 0;text-align:center;flex:1;min-width:0}.pg-preview .gift-portrait{width:90px;max-width:100%;height:auto}.pg-preview figcaption{font-weight:700}.pg-preview .gift-symbol{width:40px;height:40px;flex:none}.pg-preview-memories{display:grid;gap:.7rem}.pg-preview-memories>div{padding:.7rem;border-radius:12px;background:#ffffffbf}.pg-preview-memories strong{display:inline;vertical-align:middle}.pg-personal-copy{white-space:pre-wrap;overflow-wrap:anywhere}.pg-preview .hint{font-size:.85rem;color:#4b616c}.pg-mode-picker,.pg-secondary-actions,.pg-review-navigation{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.pg-mode-picker [aria-pressed=true]{background:#e3f1f4;border:2px solid #1d7487}.pg-secondary-actions{padding-top:1.2rem;border-top:1px solid #c5d3d7}.pg-secondary-actions .button{background:transparent;color:#365b67;border-color:#a7bfc7}.pg-review-scenes{max-width:960px;margin:1rem auto}.pg-review-scene{border:1px solid #bbd0d6;border-radius:18px;background:#fff;padding:1rem;margin:1.4rem 0;overflow:hidden}.pg-review-scene>h3{margin-top:0}.pg-review-scene>div{min-width:0}.pg-approval-card{padding:1.2rem;border:2px solid #82abb6;border-radius:18px;background:#f6fbfc;margin:1.4rem auto;max-width:900px}.pg-editor .privacy-note{padding:1rem;background:#f1f5f6;border-radius:10px;font-size:.9rem}.pg-editor .guardian-review{max-width:none}.pg-editor [data-testid=catalog-release],.pg-editor [data-testid=catalog-delivery]{max-width:880px;margin:1.4rem auto}.pg-editor [data-testid=catalog-delivery]>.button{margin:1rem 0}.pg-editor .cg-field textarea{resize:vertical}.pg-editor .ops{margin-top:1.2rem}.pg-editor .ops-content>.button{margin:.35rem}.pg-editor [data-testid=recipient-permissions]{padding:1rem;border:1px solid #d0dfe3;border-radius:12px;margin-top:1rem}@media(max-width:800px){.pg-editor-layout{grid-template-columns:1fr}.pg-preview{position:static}.pg-steps li{font-size:.78rem;padding:.55rem .15rem}.pg-steps{gap:.2rem}.pg-editor .pg-card{padding:.8rem}.pg-review-scene{padding:.6rem}.pg-editor .pg-mode-picker>.button{flex:1}.pg-preview .gift-portrait{width:80px}}@media(prefers-reduced-motion:reduce){.pg-editor *{scroll-behavior:auto}}
