/* Shared dialog geometry and actions; artwork viewers keep their own presentation. */
body dialog:not(:is(.tarot-image-viewer,#site-menu)){box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:32px;border:1px solid #d8cebd;border-radius:16px;color:#303a35;box-shadow:0 20px 65px #26312930;overflow:auto;}
body dialog:not(:is(.tarot-image-viewer,#site-menu))::backdrop{background:#26312988;}
body dialog:not(:is(.tarot-image-viewer,#site-menu)) h2{font-family:'Noto Serif KR',serif;font-size:25px;font-weight:500;line-height:1.6;padding-right:30px;}
body dialog:not(:is(.tarot-image-viewer,#site-menu)) :is(.dialog-close,.purchase-close,.wallet-close,[aria-label="닫기"]){box-sizing:border-box;position:absolute;float:none;top:14px;right:14px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;border:1px solid #c2bcad;border-radius:50%;background:#f4f0e6;color:#4c5851;font:24px/1 sans-serif;box-shadow:none;}
body dialog:not(:is(.tarot-image-viewer,#site-menu)) :is(button,.button):not(:is(.dialog-close,.purchase-close,.wallet-close,[aria-label="닫기"],.text-link,.round-logo,.google-login-button)){min-height:47px;border-radius:5px;font:500 14px/1.5 'Noto Sans KR',sans-serif;}
body dialog:not(:is(.tarot-image-viewer,#site-menu)) :is(.primary,.wallet-primary){background:#303a35;color:#fbf8f0;border:1px solid #303a35;}
body dialog:not(:is(.tarot-image-viewer,#site-menu)) :is(.primary,.wallet-primary):hover:not(:disabled){background:#17241b;color:#fbf8f0;border-color:#17241b;}
@media(max-width:600px){body dialog:not(:is(.tarot-image-viewer,#site-menu)){padding:26px 22px;}body dialog:not(:is(.tarot-image-viewer,#site-menu)) h2{font-size:23px;}}
