/* Studio Dawn — shared global overrides (buttons, sun-mark). Linked from every page. */

/* Lock horizontal movement site-wide: nothing should ever pan/scroll sideways, especially on touch */
html, body{ overflow-x:hidden; max-width:100%; }

/* Soften the sun-mark dome's bottom corners so it reads less sharp next to the Cringe serif */
[style*="border-radius: 16px 16px 0 0"]{ border-radius:16px 16px 3px 3px !important; }
[style*="border-radius: 12px 12px 0 0"]{ border-radius:12px 12px 2px 2px !important; }

/* Pill buttons: consistent vertical centering + a real colour reversal on hover/click (not just opacity) */
a[style*="border-radius: 999px"]{
  line-height:1;
  padding-top: 14px !important;
  padding-bottom: 10px !important;
  transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}
a[style*="border-radius: 999px"]:hover,
a[style*="border-radius: 999px"]:active{ opacity:1 !important; }

a[style*="border: 1.5px solid #4A2416"]:hover,
a[style*="border: 1.5px solid #4A2416"]:active{ background:#4A2416 !important; color:#F5E6D0 !important; }
a[style*="border: 1.5px solid #4A2416"]:hover span[aria-hidden],
a[style*="border: 1.5px solid #4A2416"]:active span[aria-hidden]{ background:#F5E6D0 !important; }

a[style*="border: 1.5px solid #EBA8B4"]:hover,
a[style*="border: 1.5px solid #EBA8B4"]:active{ background:#EBA8B4 !important; color:#4A2416 !important; }
a[style*="border: 1.5px solid #EBA8B4"]:hover span[aria-hidden],
a[style*="border: 1.5px solid #EBA8B4"]:active span[aria-hidden]{ background:#4A2416 !important; }

a[style*="border: 1.5px solid #F5E6D0"]:hover,
a[style*="border: 1.5px solid #F5E6D0"]:active{ background:#F5E6D0 !important; color:#4A2416 !important; }
a[style*="border: 1.5px solid #F5E6D0"]:hover span[aria-hidden],
a[style*="border: 1.5px solid #F5E6D0"]:active span[aria-hidden]{ background:#4A2416 !important; }
