.cookie-notice[hidden], [data-cookie-reopen][hidden], [data-cookie-reset][hidden] { display: none !important; }
.cookie-notice {
  position: fixed; z-index: 100; left: 24px; bottom: max(24px, env(safe-area-inset-bottom));
  width: min(420px, calc(100% - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto;
  padding: 25px 26px 18px; border: 1px solid #667852; border-radius: 12px;
  color: #f2f5ee; background: #19241e; box-shadow: 0 16px 65px #09110c50;
  animation: cookie-arrive .32s ease-out;
}
.cookie-notice-heading { display: flex; align-items: center; gap: 10px; color: #c2ee71; margin-bottom: 13px; }
.cookie-notice-heading span { font-size: .75rem; letter-spacing: .12em; font-weight: 600; }
.cookie-notice-heading .icon { width: 19px; height: 19px; }
.cookie-notice h2 { font-size: 1.4rem; line-height: 1.35; letter-spacing: -.03em; margin: 0 0 10px; }
.cookie-notice p { font-size: 1rem; line-height: 1.65; color: #c3cebf; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 22px; }
.cookie-actions a { font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; padding: 11px 0; }
.cookie-confirm { min-height: 44px; border: 1px solid #c2ee71; border-radius: 5px; padding: 10px 25px; color: #19241e; background: #c2ee71; font-size: .875rem; font-weight: 650; }
.cookie-confirm:hover { background: #d3fa92; }
.cookie-dismiss { display: block; margin: 8px auto 0; padding: 11px 8px; min-height: 44px; border: 0; color: #c3cebf; background: transparent; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.cookie-dismiss:hover { color: #fff; }
.cookie-notice :focus-visible { outline: 2px solid #c2ee71; outline-offset: 4px; }
.cookie-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 26px; padding: 15px 0 24px; color: #c3cebf; background: #141c1a; }
body > .cookie-footer-links { width: 100%; }
.cookie-footer-links a, .cookie-footer-links button { padding: 8px 4px; min-height: 40px; font-size: .875rem; line-height: 1.5; }
.cookie-footer-links button { border: 0; background: none; color: inherit; }
.cookie-footer-links a:hover, .cookie-footer-links button:hover { color: #c2ee71; text-decoration: underline; text-underline-offset: 4px; }
.cookie-policy { min-height: 100vh; }
.cookie-policy .header-inner { min-height: 80px; height: auto; padding-block: 18px; }
.cookie-back { font-size: .875rem; text-decoration: underline; text-underline-offset: 5px; text-align: right; }
.cookie-policy-main { max-width: 850px; padding-block: 65px 80px; }
.cookie-policy-main h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0 24px; }
.cookie-policy-meta { font-size: .875rem; color: #687169; }
.cookie-policy-intro { font-size: 1.125rem; color: #53614d; line-height: 1.8; }
.cookie-policy-main section { margin-top: 35px; padding-top: 28px; border-top: 1px solid #dfe3dc; }
.cookie-policy-main h2 { font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.4; margin-bottom: 13px; }
.cookie-policy-main p + p { margin-top: 13px; }
.cookie-policy-main p, .cookie-policy-main li { font-size: 1rem; line-height: 1.8; }
.cookie-policy-main a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cookie-storage { margin: 22px 0; background: #eaf2df; padding: 22px; border-radius: 8px; }
.cookie-storage div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 14px; padding: 9px 0; }
.cookie-storage dt { font-weight: 650; }
.cookie-storage dd { margin: 0; overflow-wrap: anywhere; }
.cookie-storage code { font-size: .875rem; }
.cookie-reset { margin-top: 18px; border: 1px solid #526744; border-radius: 5px; padding: 12px 18px; color: #19241e; background: transparent; font-size: .875rem; min-height: 44px; }
.cookie-reset:hover { background: #eaf2df; }
.cookie-reset-status { margin-top: 10px; color: #53614d; }
@keyframes cookie-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 540px) {
  .cookie-notice { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px 21px 12px; }
  .cookie-policy-main { padding-block: 40px 55px; }
  .cookie-policy .header-inner { gap: 20px; }
  .cookie-policy .original-logo { width: 130px; }
  .cookie-storage { padding: 16px; }
  .cookie-storage div { grid-template-columns: 1fr; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-notice { animation: none; } }
