/* Android 6.0.1 lock screen (mm-lock.js), in dp: keyguard_status_bar.xml, keyguard_status_view.xml,
   keyguard_status_area.xml and keyguard_bottom_area.xml. The panel is the screen above the 48 dp navigation bar. */
.mmlk{position:absolute;inset:0;overflow:hidden;font-family:Roboto,sans-serif;line-height:1.172;touch-action:none}
.mmlk-wall{position:absolute;inset:0;background:var(--mm-wallpaper,url('assets/fw-default_wallpaper.jpg')) left top/auto 100% no-repeat}
.mmlk-scrim{position:absolute;inset:0;background:#000;opacity:.45;transition:opacity .26s}
.mmlk.leaving .mmlk-scrim{opacity:0}
.mmlk-panel{position:absolute;left:0;right:0;top:0;height:calc(100% - 48 * var(--dp));transition:transform .26s cubic-bezier(.4,0,.2,1),opacity .26s}
.mmlk.leaving .mmlk-panel{opacity:0}
.mmlk-panel.hinting{animation:mmlk-hint .7s}
@keyframes mmlk-hint{0%{transform:none}35%{transform:translateY(calc(-75 * var(--dp)));animation-timing-function:cubic-bezier(.3,1.6,.6,1)}100%{transform:none}}
/* KeyguardStatusBarView: 40 dp; the carrier 16 dp in; the system icons in a 60 dp container; the 34 dp avatar switch. */
.mmlk-bar{position:absolute;left:0;right:0;top:0;height:calc(40 * var(--dp));display:flex}
.mmlk-carrier{flex:1;min-width:0;margin-left:calc(16 * var(--dp));color:#fff;font-size:calc(14 * var(--dp));line-height:calc(40 * var(--dp));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mmlk-icons{flex:none;display:flex;align-items:center;height:calc(60 * var(--dp));margin-left:calc(16 * var(--dp));padding-right:calc(4 * var(--dp))}
.mmlk-cluster{display:flex;align-items:center}
.mmlk-batt{display:flex}
.mmlk-batt svg{width:calc(9.5 * var(--dp));height:calc(14.5 * var(--dp))}
.mmlk-level{margin-left:calc(6 * var(--dp));padding-right:calc(2 * var(--dp));color:#fff;font-size:calc(12 * var(--dp))}
.mmlk-user{flex:none;display:grid;place-items:center;width:calc(34 * var(--dp));height:calc(40 * var(--dp));margin-right:calc(3 * var(--dp))}
.mmlk-user img{width:calc(22 * var(--dp));height:calc(22 * var(--dp))}
/* KeyguardStatusView, centred on the clock position. */
.mmlk-status{position:absolute;left:0;right:0;display:flex;flex-direction:column;align-items:center;transform:translateY(-50%);color:#fff;pointer-events:none}
.mmlk-clock{font:300 calc(96 * var(--dp))/1.172 Roboto,sans-serif;margin-bottom:calc(-10 * var(--dp));white-space:nowrap}
.mmlk-date{font-size:calc(14 * var(--dp));letter-spacing:.15em;text-transform:uppercase;white-space:nowrap}
.mmlk-owner{max-width:calc(100% - 32 * var(--dp));margin-top:calc(6 * var(--dp));color:rgba(255,255,255,.8);font-size:calc(14 * var(--dp));letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* The bottom area: the indication 65 dp up, the 56 dp affordances and lock icon at the bottom. */
.mmlk-indication{position:absolute;left:0;right:0;bottom:calc(65 * var(--dp));color:#fff;font-size:calc(14 * var(--dp));font-style:italic;text-align:center;pointer-events:none}
.mmlk-aff,.mmlk-lock{position:absolute;bottom:0;width:calc(56 * var(--dp));height:calc(56 * var(--dp));padding:0;border:0;background:none;display:grid;place-items:center;-webkit-tap-highlight-color:transparent}
.mmlk-aff img,.mmlk-lock img{position:relative;width:calc(24 * var(--dp));height:calc(24 * var(--dp))}
/* The affordance icons are tinted #ffffffff (SRC_IN), what brightness(0) invert(1) does to a bitmap's opaque pixels. */
.mmlk-aff img{filter:brightness(0) invert(1)}
.mmlk-phone{left:0}
.mmlk-camera{right:0}
.mmlk-lock{left:50%;margin-left:calc(-28 * var(--dp))}
/* KeyguardAffordanceView: while dragged a white circle grows from keyguard_affordance_min_background_radius 30 dp. */
.mmlk-aff i{position:absolute;left:50%;top:50%;width:calc(60 * var(--dp));height:calc(60 * var(--dp));margin:calc(-30 * var(--dp)) 0 0 calc(-30 * var(--dp));border-radius:50%;background:#fff;opacity:0;transform:scale(calc(1 + var(--grow, 0) * .6));transition:opacity .2s}
.mmlk-aff.dragging i{opacity:.25}
.mmlk-aff.hinting{animation:mmlk-aff-hint .6s}
.mmlk-phone.hinting{--dir:1}
.mmlk-camera.hinting{--dir:-1}
@keyframes mmlk-aff-hint{40%{transform:translateX(calc(var(--dir) * 60 * var(--dp)))}100%{transform:none}}
/* The bouncer (mm-lock.js): the in-front scrim, the security container at the bottom, 320 dp wide. */
.mmbo{position:absolute;inset:0;z-index:5;color:#fff}
.mmbo-scrim{position:absolute;inset:0;background:rgba(0,0,0,.75);animation:mmbo-in .2s}
@keyframes mmbo-in{from{opacity:0}}
.mmbo-container{position:absolute;left:50%;bottom:0;width:min(100%,calc(320 * var(--dp)));height:min(calc(100% - 24 * var(--dp)),calc(450 * var(--dp)));transform:translateX(-50%);padding-top:calc(8 * var(--dp));box-sizing:border-box;animation:mmbo-up .3s cubic-bezier(.4,0,.2,1)}
@keyframes mmbo-up{from{transform:translate(-50%,calc(40 * var(--dp)));opacity:0}}
.mmbo-view{display:flex;flex-direction:column;height:100%}
.mmbo-view.password,.mmbo-view.pattern{height:min(100%,calc(400 * var(--dp)));margin-top:auto}
.mmbo-container:has(.password),.mmbo-container:has(.pattern){display:flex;flex-direction:column;justify-content:flex-end}
.mmbo-msg{flex:none;min-height:calc(19 * var(--dp));text-align:center;color:rgba(255,255,255,.7);font-size:calc(14 * var(--dp));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mmbo-rows{flex:1;display:flex;flex-direction:column;min-height:0}
.mmbo-row0,.mmbo-row{flex:1;display:flex;min-height:0}
.mmbo-row0{position:relative;align-items:center;justify-content:center;padding-bottom:calc(16 * var(--dp));border-bottom:calc(1 * var(--dp)) solid rgba(255,255,255,.157)}
.mmbo-entry{display:flex;gap:calc(8 * var(--dp));align-items:center}
.mmbo-entry i{width:calc(9 * var(--dp));height:calc(9 * var(--dp));border-radius:50%;background:#fff;animation:mmbo-dot .15s}
@keyframes mmbo-dot{from{transform:scale(0)}}
.mmbo-del{position:absolute;right:0;top:0;bottom:calc(16 * var(--dp));padding:calc(8 * var(--dp)) calc(8 * var(--dp)) calc(8 * var(--dp)) calc(24 * var(--dp));border:0;background:none;display:grid;place-items:center}
.mmbo-del img{width:calc(24 * var(--dp));height:calc(24 * var(--dp))}
.mmbo-row>*{flex:1}
.mmbo-key{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:none;color:#fff}
.mmbo-key:active,.mmbo-del:active,.mmbo-emergency:active{background:rgba(255,255,255,.15)}
.mmbo-digit{font:300 calc(36 * var(--dp))/1 Roboto,sans-serif}
.mmbo-letters{min-height:calc(14 * var(--dp));margin-top:calc(2 * var(--dp));color:rgba(255,255,255,.5);font-size:calc(12 * var(--dp))}
.mmbo-key img{width:calc(24 * var(--dp));height:calc(24 * var(--dp));margin-bottom:calc(11 * var(--dp))}
.mmbo-eca{flex:none;display:flex;justify-content:center;margin-top:calc(-10 * var(--dp))}
.mmbo-emergency{min-height:calc(48 * var(--dp));padding:0 calc(16 * var(--dp));border:0;border-radius:calc(2 * var(--dp));background:none;color:rgba(255,255,255,.7);font:calc(14 * var(--dp)) Roboto,sans-serif;text-transform:uppercase}
.mmbo-space7{flex:7}.mmbo-space2{flex:2}
.mmbo-field{align-self:center;width:calc(280 * var(--dp));padding:calc(8 * var(--dp)) 0;border:0;border-bottom:calc(2 * var(--dp)) solid #80cbc4;background:none;outline:none;text-align:center;color:#fff;font:calc(16 * var(--dp)) Roboto,sans-serif}
.mmbo-pat{flex:1;display:flex;justify-content:center;align-items:center;min-height:0;margin:0 calc(8 * var(--dp)) calc(4 * var(--dp))}
.mmbo-pat .mmpt{height:100%;max-width:100%;--mmpt-regular:#fff;--mmpt-success:#fff;--mmpt-error:#f4511e}
.mmbo-container.locked .mmbo-rows,.mmbo-container.locked .mmbo-pat,.mmbo-container.locked .mmbo-field{opacity:.4}
/* With the bouncer up the keyguard panel has collapsed away; only its status bar stays over the scrim. */
.mmlk.bouncing .mmlk-panel>:not(.mmlk-bar){opacity:0;pointer-events:none;transition:opacity .2s}
.mmlk.bouncing .mmlk-bar{z-index:6}
/* The keyguard's notification rows (mm-notify.js rows in the dimmed background; an activated one is opaque). */
.mmlk-notes{position:absolute;left:calc(8 * var(--dp));right:calc(8 * var(--dp))}
.mmlk-notes .mmnt-row{background:rgba(255,255,255,.831);transition:background-color .22s}
.mmlk-notes .mmnt-row.active{background:#fafafa}
