.sg37-actions{display:flex;gap:4px;flex-wrap:wrap;align-items:center;border-top:1px solid #dfebe1;padding:9px 6px;background:#fff;border-radius:0 0 14px 14px;clear:both}.sg37-actions button{flex:1 1 65px;min-height:44px;padding:8px 5px;border:1px solid transparent;border-radius:10px;background:#eff6ef;color:#224b32;font:600 12px system-ui;cursor:pointer}.sg37-actions button[aria-pressed=true]{background:#d5eddb;border-color:#398355}.sg37-actions button:disabled{opacity:.55;cursor:wait}.sg37-note{flex-basis:100%;font:12px system-ui;color:#815020;padding:3px 5px}.sg37-dialog{width:min(600px,94vw);max-height:88dvh;border:1px solid #c9dbce;border-radius:20px;padding:20px;color:#173b25;background:#f8fbf8}.sg37-dialog::backdrop{background:#001c1680}.sg37-dialog h2{font:700 22px system-ui}.sg37-dialog .sg37-thread{max-height:40dvh;overflow:auto;padding:8px 0}.sg37-dialog article{border-bottom:1px solid #dfebe1;padding:10px 2px}.sg37-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}.sg37-dialog textarea{width:100%;min-height:75px;font:16px system-ui;padding:10px;box-sizing:border-box}.sg37-dialog button,.sg37-setting button{padding:10px 14px;min-height:44px;border-radius:9px;border:1px solid #9cb9a5;background:#e6f2e9;color:#173b25;cursor:pointer;margin:4px}.sg37-dialog form{display:grid;gap:8px}.sg37-popular{padding:24px 0;max-width:1200px;margin:auto;clear:both}.sg37-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}.sg37-card{background:#fff;border:1px solid #dce8de;border-radius:18px;overflow:hidden;min-width:0}.sg37-card>a{display:block;text-decoration:none;color:#173b25}.sg37-photo{width:100%;height:180px;object-fit:cover;background:#e6f2e9;display:block}.sg37-body{padding:13px}.sg37-body h3{font:700 17px system-ui;margin:8px 0;overflow-wrap:anywhere}.sg37-body p{font:14px system-ui;margin:6px 0}.sg37-community{padding:18px 20px;background:#e5f3e7;border-radius:16px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.sg37-setting{padding:16px;margin:14px 0;background:#f0f7f0;border:1px solid #d5e4d8;border-radius:14px;font:14px/1.5 system-ui}.sg37-setting input{width:20px;height:20px;vertical-align:middle;margin-right:8px}.sg37-auth-link{display:inline-block;margin:10px 0;font-weight:700;color:#165d37}.sg37-hidden{display:none!important}@media(max-width:550px){.sg37-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sg37-photo{height:145px}.sg37-popular{padding:20px 0}.sg37-actions button{flex-basis:55px;font-size:11px}.sg37-community{align-items:flex-start;flex-direction:column}}
/* Let public cards grow to include their social controls. */
article.card:has(> .sg37-actions)>a{height:auto}
