/* 3.0.4: quick poem follows native paper popup system. */
html body .ggw-poem-card .vv57-poem-card__footer{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;}
html body .ggw-poem-card .gg304-quick-open{margin-left:auto!important;display:inline-flex!important;gap:6px!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:6px 11px!important;background:#fffaf5!important;color:#25475e!important;border:1px solid #d9cbbd!important;border-radius:999px!important;font:700 12px/1.2 'Plus Jakarta Sans',system-ui,sans-serif!important;cursor:pointer!important;box-shadow:none!important;white-space:nowrap!important;letter-spacing:0!important;}
html body .ggw-poem-card .gg304-quick-open .ggw-icon{width:15px!important;height:15px!important;flex:none!important;}
html body .ggw-poem-card .gg304-quick-open:hover,html body .ggw-poem-card .gg304-quick-open:focus-visible{background:#f3e7dd!important;border-color:#bf9b83!important;color:#19384f!important;}
/* Site-owned popup primitives: same overlay and white gg-popup-card as login & action dialogs. */
html body .gg304-quick-modal[hidden]{display:none!important;}
html body .gg304-quick-modal{position:fixed!important;z-index:100110!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:clamp(10px,2.5vw,25px)!important;box-sizing:border-box!important;}
html body .gg304-quick-modal .gg-publish-modal__shade{position:absolute!important;inset:0!important;background:rgba(14,33,47,.62)!important;backdrop-filter:blur(4px)!important;}
html body .gg304-quick-modal .gg304-quick-panel.gg-popup-card{--popup-width:770px;--popup-title:clamp(31px,4vw,47px);z-index:1!important;position:relative!important;margin:0!important;padding:clamp(24px,4vw,47px)!important;max-height:min(88dvh,830px)!important;width:min(100%,var(--popup-width))!important;max-width:770px!important;overflow-y:auto!important;overscroll-behavior:contain!important;border-radius:25px!important;box-shadow:0 30px 110px rgba(8,22,34,.3)!important;}
html body .gg304-quick-panel .gg-popup-close{position:sticky!important;float:right!important;top:0!important;margin:-10px -12px 0 0!important;z-index:3!important;}
html body .gg304-quick-panel .gg304-quick-kicker{display:block!important;color:#9b6b4d!important;font:700 11px/1.5 'Plus Jakarta Sans',system-ui,sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase!important;margin:0 45px 10px 0!important;}
html body .gg304-quick-panel .gg304-quick-title{margin:0 0 8px!important;text-align:left!important;color:#253f50!important;font:500 clamp(32px,5.5vw,48px)/1.09 'Cormorant Garamond',Georgia,serif!important;}
html body .gg304-quick-panel .gg304-quick-meta{font:500 13px/1.6 'Plus Jakarta Sans',system-ui,sans-serif!important;color:#6d7375!important;margin-bottom:17px!important;}
html body .gg304-quick-panel .gg304-quick-meta a{color:#315b70!important;}
html body .gg304-quick-panel .gg304-quick-origin{display:inline-flex!important;padding:6px 12px!important;border-radius:999px!important;background:#f4f0f7!important;color:#66517f!important;font:700 12px/1.3 'Plus Jakarta Sans',system-ui,sans-serif!important;text-decoration:none!important;margin-bottom:18px!important;}
html body .gg304-quick-panel .gg304-quick-body{white-space:pre-wrap!important;overflow-wrap:anywhere!important;font:400 clamp(17px,2.3vw,20px)/1.8 'Cormorant Garamond',Georgia,serif!important;letter-spacing:.004em!important;color:#284253!important;margin:9px 0 22px!important;max-height:none!important;}
html body .gg304-quick-panel .gg304-quick-rating{padding:16px 0 19px!important;border-top:1px solid #e8e1d9!important;}
html body .gg304-quick-panel .gg304-quick-rating h3{font:500 25px/1.2 'Cormorant Garamond',Georgia,serif!important;margin:0 0 5px!important;color:#263c4c!important;}
html body .gg304-quick-panel .gg304-quick-rating-summary{font:500 12px/1.5 'Plus Jakarta Sans',system-ui,sans-serif!important;color:#657886!important;}
html body .gg304-quick-panel .gg304-quick-stars{display:flex!important;align-items:center!important;gap:6px!important;margin:13px 0 8px!important;}
html body .gg304-quick-panel .gg304-quick-star{min-width:40px!important;min-height:40px!important;display:grid!important;place-items:center!important;background:#fff!important;border:1px solid #dfd7cd!important;color:#b9aa99!important;border-radius:10px!important;cursor:pointer!important;box-shadow:none!important;font:28px/1 Georgia,serif!important;}
html body .gg304-quick-panel .gg304-quick-star:hover:not(:disabled),html body .gg304-quick-panel .gg304-quick-star:focus-visible:not(:disabled),html body .gg304-quick-panel .gg304-quick-star.is-highlight{background:#fff6e8!important;color:#c78b37!important;border-color:#e4bd7d!important;}
html body .gg304-quick-panel .gg304-quick-star:disabled{opacity:.65!important;cursor:not-allowed!important;}
html body .gg304-quick-panel .gg304-quick-feedback{font:500 12px/1.55 'Plus Jakarta Sans',system-ui,sans-serif!important;color:#527252!important;min-height:18px!important;margin:0!important;}
html body .gg304-quick-panel .gg304-quick-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:8px!important;}
html body .gg304-quick-panel .gg304-quick-link.gg-popup-primary{width:auto!important;flex:1 1 180px!important;}
html body .gg304-quick-panel .gg304-quick-secondary.gg-popup-secondary{width:auto!important;flex:1 1 150px!important;}
@media(max-width:600px){html body .gg304-quick-modal .gg304-quick-panel.gg-popup-card{width:100%!important;max-height:94dvh!important;padding:24px 20px!important;border-radius:19px!important;}html body .ggw-poem-card .gg304-quick-open{font-size:11px!important;padding:6px 9px!important;}html body .gg304-quick-panel .gg304-quick-body{font-size:19px!important;}}
@media(prefers-reduced-motion:reduce){html body .gg304-quick-modal *{animation:none!important;transition:none!important;}}

/* Stronger than legacy global body#top popup placement rules. */
html body#top .gg304-quick-modal{pointer-events:auto!important;}
html body#top .gg304-quick-modal>.gg304-quick-panel.gg-popup-card{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;margin:0 auto!important;width:min(100%,770px)!important;max-width:770px!important;max-height:min(88dvh,830px)!important;}
html body .gg304-quick-modal [hidden]{display:none!important;}
html body.gg304-quick-opened{overflow:hidden!important;}
@media(max-width:600px){html body#top .gg304-quick-modal>.gg304-quick-panel.gg-popup-card{width:100%!important;max-height:94dvh!important;}}
html body .gg-profile-poem-card{position:relative!important;}
html body .gg-profile-poem-card>.gg304-quick-open{position:absolute!important;right:13px!important;bottom:12px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;background:#fffaf5!important;border:1px solid #dacdc0!important;border-radius:999px!important;color:#2b5366!important;padding:7px 10px!important;font:700 11px/1.2 'Plus Jakarta Sans',system-ui,sans-serif!important;cursor:pointer!important;z-index:10!important;}
html body .gg-profile-poem-card>.gg304-quick-open .ggw-icon{width:14px;height:14px;}
html body .gg-profile-poem-card .gg-profile-poem-body{padding-bottom:48px!important;}
