/* The cookie notice (public/cookie-consent.js): a white rounded card at the bottom right; a bottom sheet on phones. */
@layer theme,camos;
@layer camos{
.cc{
  position:fixed;right:16px;bottom:16px;z-index:2147483000;box-sizing:border-box;width:380px;max-width:calc(100vw - 32px);padding:16px;border-radius:var(--radius-2xl);
  background:var(--color-surface-elevated);color:var(--color-text);box-shadow:var(--shadow),var(--shadow-hairline);
  font:var(--font-text-sm-size)/var(--font-text-sm-line-height) var(--font-sans);-webkit-font-smoothing:antialiased}
.cc[hidden],.cc [hidden]{display:none!important}
.cc-text{margin:0 28px 14px 0;color:var(--color-text-secondary)}
.cc-text a{color:var(--link-primary-text-color);text-decoration:none}
.cc-text a:hover{text-decoration:underline;text-underline-offset:2px}
.cc .cc-close{position:absolute;top:10px;right:10px}
.cc-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cc-fill{flex:1}
.cc-text a:focus-visible{outline:2px solid var(--color-ring);outline-offset:2px}
.cc-title{margin:0 28px 8px 0;font-size:var(--font-text-md-size);line-height:var(--font-text-md-line-height);font-weight:var(--font-weight-semibold)}
.cc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;font-size:var(--font-text-sm-size);line-height:var(--font-text-sm-line-height)}
.cc-row+.cc-actions{margin-top:8px}
@media (max-width: 575px){
  /* An island 12px in from the sides (like the Log in card), above the message box when there is one (cookie-consent.js). */
  .cc{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;width:auto;max-width:none;border-radius:var(--radius-4xl);padding:18px 16px 16px}
  .cc-actions .cc-outline{flex-basis:100%;order:3}
  .cc-actions .cc-fill{display:none}
  .cc-actions .cc-dark{flex:1}
}

/* Legal pages on phones (public/cookie-consent.js): a bottom sheet like iOS's in-app Safari. Same tokens as the app. */
/* The sheet itself (surface, corners, grabber, drag, the page stepping back) is the shared drawer: cui-drawer.css. */
.ls-sheet.cui-drawer{height:calc(100dvh - var(--cui-drawer-top));overflow:hidden}
.ls-content{overflow:hidden;padding-bottom:0}
.ls-body{display:flex;flex:1;flex-direction:column;min-height:0;font:var(--font-text-md-size)/var(--font-text-md-line-height) var(--font-sans)}
.ls-head{position:relative;display:flex;align-items:center;gap:8px;height:64px;padding:10px 14px 0;flex:none;touch-action:none;cursor:grab}
.ls-host{flex:1;min-width:0;text-align:center;font-size:var(--font-text-md-size);line-height:var(--font-text-md-line-height);font-weight:var(--font-weight-semibold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ls-bar{position:absolute;left:50%;bottom:4px;max-width:120px;translate:-50% 0;border-radius:var(--radius-2xs);height:2px;width:0;background:var(--color-background-info-solid);animation:ls-load 1.6s var(--cubic-enter) forwards}
.ls-loaded .ls-bar{width:100%;opacity:0;animation:none;transition:opacity .25s .1s}
@keyframes ls-load{from{width:0}to{width:85%}}
.ls-frame{flex:1;width:100%;border:0;background:var(--color-surface)}
.ls-frame{opacity:0}.ls-loaded .ls-frame{opacity:1;transition:opacity .15s}
}
