/*! Gully sign-in icon kit 1.0.0 (gully-ops sites/_shared/signin-icons). Copy byte-identical. */
/* The tile: 40x40 CSS px, whole pixels. kind=button tiles are the provider's own button image (no frame of ours);
   kind=mark tiles get the kit frame (Google's square-button colours, so every tile in a list matches). */
.si-tile {
  box-sizing: border-box; display: inline-flex; flex: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; min-width: 40px; border-radius: 4px; overflow: hidden; line-height: 0;
}
.si-tile[data-si-kind="mark"] { background: #FFFFFF; border: 1px solid #747775; }
.si-tile .si-img { display: block; flex: none; max-width: none; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.si-tile[data-si-kind="button"] .si-img { width: 40px; height: 40px; }
.si-tile .si-d { display: none; }

/* explicit dark tile */
.si-tile[data-si-theme="dark"][data-si-kind="mark"] { background: #131314; border-color: #8E918F; }

/* auto: follow the page theme (data-theme / .dark class), else the device setting */
:is([data-theme="dark"], .dark) .si-tile[data-si-theme="auto"][data-si-kind="mark"] { background: #131314; border-color: #8E918F; }
:is([data-theme="dark"], .dark) .si-tile[data-si-theme="auto"] .si-l { display: none; }
:is([data-theme="dark"], .dark) .si-tile[data-si-theme="auto"] .si-d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]):not(.light):not(.dark) .si-tile[data-si-theme="auto"][data-si-kind="mark"] { background: #131314; border-color: #8E918F; }
  :root:not([data-theme]):not(.light):not(.dark) .si-tile[data-si-theme="auto"] .si-l { display: none; }
  :root:not([data-theme]):not(.light):not(.dark) .si-tile[data-si-theme="auto"] .si-d { display: block; }
}
