/* Styles are scoped to consent controls; existing page layout is unchanged. */
.hy-consent[hidden], [data-hy-cookie-settings][hidden] { display: none !important; }
.hy-consent, .hy-consent * { box-sizing: border-box; }
.hy-consent {
  position: fixed; inset: auto 0 0; z-index: 2147483000;
  max-height: 70vh; max-height: 70dvh; overflow-y: auto;
  background: #333132; color: #f5f0e6;
  border-top: 1px solid #d4af37; box-shadow: 0 -4px 24px #0004;
  padding: 20px max(20px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  font: 15px/1.75 Arial, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  letter-spacing: normal; text-align: left;
}
.hy-consent__inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.hy-consent__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.hy-consent h2 { color: #e1c566; font: bold 17px/1.5 Arial, sans-serif; letter-spacing: .03em; margin: 0 0 8px; }
.hy-consent p { font-size: 14px; line-height: 1.75; margin: 0 0 6px; }
.hy-consent .hy-consent__status { font-size: 12px; color: #e5decf; }
.hy-consent .hy-consent__links { margin: 0; font-size: 12px; }
.hy-consent a { color: #f4dfa0; text-decoration: underline; text-underline-offset: 3px; }
.hy-consent__actions { display: flex; gap: 12px; flex: 0 0 auto; }
.hy-consent__actions button { cursor: pointer; appearance: none; border: 1px solid #d4af37; border-radius: 3px; background: #333132; color: #f5f0e6; font: bold 14px/1.5 Arial, sans-serif; min-height: 44px; min-width: 110px; padding: 10px 18px; margin: 0; }
.hy-consent__actions button:hover { background: #504839; }
.hy-consent :focus-visible, [data-hy-cookie-settings]:focus-visible { outline: 3px solid #f5d66a; outline-offset: 4px; }
.hy-cookie-settings { cursor: pointer; font: inherit; color: inherit; background: none; border: 0; padding: 8px; text-decoration: underline; text-underline-offset: 4px; }
.hy-policy-links { flex-wrap: wrap; }
.hy-policy-return { text-align: center; padding: 8px 18px 28px; color: #d4af37; font: 14px/1.8 Arial, sans-serif; }
.hy-policy-return a { color: inherit; text-decoration: underline; }
.hy-privacy__section h2 span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .hy-consent { padding-top: 16px; }
  .hy-consent__inner { display: block; }
  .hy-consent__actions { margin-top: 12px; }
  .hy-consent__actions button { flex: 1; min-width: 0; }
  .hy-consent h2 { font-size: 16px; }
  .hy-consent p { font-size: 13px; }
}
