/* Cloud family accounts reuse the established GBA world and art. */
header .parent-button{margin-left:6px}.welcome-mode .world{height:130px}.signup{max-width:780px;margin:0 auto 22px}.signup h1{font:22px/1.7 Adventure,monospace;margin:0 0 14px}.signup>p{font-size:13px}.auth-tabs{display:flex;flex-wrap:wrap;margin:20px 0}.auth-tabs .btn{margin:0 7px 7px 0}.child-setup{padding:12px;margin-bottom:16px;border:3px solid #86a5c6;background:#e5eef7;border-radius:7px}.avatar-picker{display:flex;flex-wrap:wrap;margin:8px -3px}.avatar-option{width:calc(16.666% - 6px);padding:5px 0;border:3px solid #a6bad1;background:#f0f6fa;border-radius:7px;margin:3px;min-width:75px;color:#23435e}.avatar-option .trainer-sprite{width:54px;height:72px}.avatar-option .trainer-sprite img{width:108px;height:72px}.avatar-option .trainer-sprite.camila img{left:-54px}.avatar-option small{display:block;font-size:10px;margin-top:4px}.avatar-option.chosen{border-color:#b38426;background:#fff0b8;box-shadow:inset 0 0 0 2px #f0cd5c}.field input{max-width:100%}.field textarea{min-height:115px}.local-help{border-top:1px solid #98b2ca;padding-top:14px;font-size:11px!important}.local-help a{color:#184b82}.family-players{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:8px;justify-content:space-around}.family-players .player{flex:0 0 43%;max-width:465px}.family-players.many{justify-content:flex-start}.family-players.many .player{flex:0 0 250px;margin-right:13px}.player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.village-characters{flex-wrap:wrap}.scene-character{margin:0 10px 20px}.scene-character .character-label{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-stats h3{overflow-wrap:break-word;font-size:14px;line-height:1.6}.pair-code{padding:17px;background:#fff0b1;border:3px solid #aa863f;font:18px/1.7 Adventure,monospace;text-align:center;word-break:break-all;user-select:all}.row small{display:block;color:#4d6684;font-size:11px;margin-top:4px}.admin-row .btn{margin:3px}.item-info{margin-right:6px}.signup .btn{min-height:46px}.busy{opacity:.7;pointer-events:none}#sync-status{font-size:10px}.dialog #recovery-code{min-height:100px;font:16px monospace;word-break:break-all}.dialog .avatar-option{min-width:60px}.dialog .avatar-option .trainer-sprite{width:45px;height:60px}.dialog .avatar-option .trainer-sprite img{width:90px;height:60px}.dialog .avatar-option .trainer-sprite.camila img{left:-45px}
@media(max-width:720px){.signup h1{font-size:16px}.welcome-mode .world{height:135px}.avatar-option{width:calc(33.333% - 6px);min-width:0}.family-players .player{flex-basis:47%;max-width:47%}.family-players.many .player{flex:0 0 180px;max-width:180px}.player-name{font-size:12px}.scene-character{margin:0 0 22px}.auth-tabs .btn{font-size:8px;padding:9px 8px}.pair-code{font-size:12px}.signup{padding:15px}.child-setup{padding:10px}.character-heading{font-size:10px;overflow:hidden}.header-actions .parent-button{font-size:7px}.brand b{font-size:8px}.admin-row .item-info{min-width:50%}.dialog .avatar-option{width:calc(33.333% - 6px)}.scene-character .character-label{max-width:130px}}

.brand-logo{display:block;width:48px;height:32px;object-fit:contain;margin-right:9px;border-radius:3px}.pokefamily-intro{text-align:center;margin:0 0 16px}.pokefamily-logo{display:block;width:330px;max-width:100%;height:auto;margin:0 auto 12px;border:3px solid #8faeca;border-radius:9px;background:#faf9f6}.pokefamily-intro h1{font:20px/1.6 Adventure,monospace;margin:0}.brand b{font-size:15px}@media(max-width:720px){.brand-logo{width:42px;height:28px;margin-right:6px}.brand b{font-size:11px}.pokefamily-logo{width:240px}.pokefamily-intro h1{font-size:16px}}

/* Each supplied character is a complete transparent image, rather than an atlas. */
.trainer-sprite.single-character img,
.portrait .trainer-sprite.single-character img,
.scene-character .trainer-sprite.single-character img,
.portrait-large .trainer-sprite.single-character img,
.avatar-option .trainer-sprite.single-character img,
.dialog .avatar-option .trainer-sprite.single-character img,
.mini-trainer .trainer-sprite.single-character img {
  position:static;display:block;width:100%;height:100%;max-width:none;
  left:auto;top:auto;object-fit:contain;object-position:center bottom;filter:none;
}

/* Profile cards contain every text row and a block-level XP bar. */
.family-players .player{height:auto;min-height:112px;padding:10px 12px;overflow:hidden;align-items:center}
.family-players .portrait{display:block;width:78px;height:82px;margin-right:10px;overflow:hidden}
.family-players .portrait .trainer-sprite.single-character{display:block;width:100%;height:100%}
.family-players .player-info{display:flex;flex-direction:column;justify-content:center;min-width:0;line-height:1.4}
.family-players .player-name{flex-shrink:0;line-height:1.4;margin:0}
.family-players .player-stats{display:flex;flex-wrap:wrap;align-items:center;line-height:1.5;margin:5px 0;min-width:0}
.family-players .player-stats>span{margin:2px 6px 2px 0}
.family-players .player-stats .coins{max-width:100%;white-space:normal;overflow-wrap:break-word;font-size:10px;line-height:1.5}
.family-players .player-info>.bar{display:block;flex-shrink:0;width:100%;height:13px;margin:0}
.family-players.many .portrait{width:56px;height:70px;margin-right:6px}
@media(max-width:720px){
 .family-players .player{min-height:112px;padding:8px 6px}
 .family-players .portrait{width:48px;height:66px;margin-right:5px}
 .family-players .player-name{font-size:11px;line-height:1.5}
 .family-players .player-stats{display:block;font-size:8px;margin:3px 0}
 .family-players .player-stats>span{display:block;margin:1px 0}
 .family-players .player-stats .coins{font-size:8px;padding:3px;line-height:1.5}
 .family-players .player-info>.bar{height:10px}
 .family-players.many .portrait{width:44px;height:62px}
}
.google-btn{display:block;text-align:center;text-decoration:none;background:linear-gradient(#ffffff,#e3ebf3);border-color:#456990;color:#163958;box-shadow:inset 0 2px #fff,0 3px #324e66}.google-g{display:inline-block;width:24px;height:24px;margin-right:10px;border-radius:50%;background:#fff;border:2px solid #4285f4;color:#4285f4;font:bold 14px/20px Arial,sans-serif;vertical-align:middle}.auth-or{text-align:center;margin:14px 0 4px;font-size:12px;color:#4c6180}
